1 | /** 2 | 3 | +html+ <h1> 4 | Yet Another JSON Library (YAJL) 5 | +html+ </h1> 6 | 7 | Lloyd Hilaiel 8 | +html+ <br> 9 | 2007-2014 10 | +html+ <br> 11 | This version is maintained by Greg A. Woods 12 | +html+ <br> 13 | 14 | Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) 15 | JSON parser, and a small validating JSON generator, all written 16 | entirely in pure portable ANSI C 17 | 18 | YAJL is released under the permissive ISC license. 19 | 20 | +html+ <hr> 21 | 22 | +html+ <br> 23 | +html+ <a href="yajl.apdx.html">All Files, Functions, and Types</a> 24 | +html+ <br> 25 | 26 | +html+ <hr> 27 | 28 | +html+ <h2> 29 | Features 30 | +html+ </h2> 31 | 32 | - Stream (incremental) parsing and generation of JSON 33 | 34 | - Plain ANSI C 35 | 36 | - Human readable error messages, complete with context 37 | 38 | - tiny 39 | 40 | - event driven 41 | 42 | - support for generating "beautified" JSON 43 | 44 | - includes a simplified tree parser and access API 45 | 46 | - can use a custom memory allocator 47 | 48 | +html+ <br> 49 | 50 | It also includes a small tree-based API for simplified parsing and 51 | extraction of data from smallish JSON documents. 52 | 53 | +html+ <h2> 54 | Usage 55 | +html+ </h2> 56 | 57 | See the following examples which demonstrate both stream based parsing 58 | and generation of JSON; as well as an example of the simplified tree 59 | interface. 60 | 61 | +html+ <br> 62 | +html+ <a href="reformatter/json_reformat.c.html#file"> 63 | reformatter/json_reformat.c 64 | +html+ </a><br> 65 | 66 | +html+ <a href="example/parse_config.c.html#file"> 67 | example/parse_config.c 68 | +html+ </a><br> 69 | 70 | +html+ <hr> 71 | 72 | **/