YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C and a small validating JSON generator.