Yet Another JSON Library (YAJL)

Yet Another JSON Library (YAJL)

http://lloyd.github.com/yajl/
Why does the world need another C library for parsing JSON? Good question. In a review of current C JSON parsing libraries I was unable to find one that satisfies my requirements. Those are:

0. written in C

1. portable

2. robust -- as close to "crash proof" as possible

3. data representation independent

4. fast

5. generates verbose, useful error messages including context of where the error occurs in the input text.

6. can parse JSON data off a stream, incrementally

7. simple to use

8. tiny

Numbers 3, 5, 6, and 7 where particularly hard to find, and were what caused me to ultimately create YAJL.

The copyright and license notices on this page only apply to the
text on this page. Any software or copyright-licenses or other
similar notices described in this text has its own copyright notice
and license, which can usually be found in the distribution or license
text itself.