- Lloyd Hilaiel
Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator. YAJL is released under the permissive ISC license.
- Stream (incremental) parsing and generation of JSON
- ANSI C
- Human readable error messages with context
- event driven
- support for generating "beautified" JSON
- includes It also includes a small simplified tree interface for simplified parsing and extraction of data from smallish JSON documents.
See json_reformat.c for a complete example of stream based parsing and generation of JSON. See parse_config.c for an example of the simplified tree interface.