JSON

Developing the next generation of open data interchange

« PreviousNext »

YAJL, Yet Another JSON Library in ANSI C

22 October 2007

Lloyd Hilaiel has released a new JSON C Library that is intended to be a fast, lightweight, portable JSON parsing/generation/validation library. It’s design goals were to provide fast stream based event driven parsing that is representation agnostic.

The concrete problem that motivated it’s creation was using JSON in network protocols, and in performance critical situations it’s suboptimal to A) wait for all the data to arrive before parsing, and B) map everything into the data representation that the parsing library provides, then re-map it into the representation of the application that embeds the library.

It also comes with a command line json validator and json pretty printer/minimizer.

Finally, it’s possible to write small libraries on top of yajl which provide a convenient data representation.

Posted in Libraries | Trackback | del.icio.us | Top Of Page

    One Response to “YAJL, Yet Another JSON Library in ANSI C”

  1. Lloyd Hilaiel Says:

    0.3.0 is now available. online documentation and a couple bugfixes.

Leave a Reply