Yet Another JSON Library (YAJL)

From Free Software Directory
 
Jump to: navigation, search
[edit]

Yet Another JSON Library (YAJL)

http://lloyd.github.com/yajl/
a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator.

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.

Documentation

see README file and http://lloyd.github.com/yajl/yajl-1.0.9/

"IRC [irc:irc.freenet.net/yajl irc:irc.freenet.net/yajl] " IRC general channel
[irc:irc.freenet.net/yajl irc:irc.freenet.net/yajl]

Related Projects




Licensing

LicenseVerified byVerified onNotes
License:BSD 3ClauseKelly Hopkins30 June 2010



Leaders and contributors

Contact(s)Role
Lloyd Hilaiel Maintainer


Resources and communication

AudienceResource typeURI
DeveloperHomepagehttp://github.com/lloyd/yajl
GeneralMailing List Subscribemailto:yajl@librelist.com


Software prerequisites

This entry (in part or in whole) was last reviewed on 30 June 2010.



Entry















"c" is not in the list (C, C++, java, lisp, php, pascal, perl, python, ruby, scheme, ...) of allowed values for the "Programming-language" property.







Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

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.