Skip to content
madbranch edited this page Aug 4, 2012 · 7 revisions

JSON (JavaScript Object Notation) is a lightweight data-interchange format.

Json Box is a C++ library used to read and write JSON with ease and speed.

Things it does:

  • Follows the standards established on http://json.org/
  • Read and write JSON in UTF-8
  • Uses the STL streams for input and output
  • Generated JSON can be indented and pretty or compact and hard-to-read
  • Does not crash when the JSON input contains errors, it simply tries to interpret as much as it can

Things it does not do:

  • Read JSON in UTF-16 or UTF-32
  • Keep the order of the members in objects (the standard doesn't require keeping the order)
  • Write useful error messages when the JSON input contains errors

The library wasn't designed with multi-threading in mind.

For information on how to build the library, go here.

For information on how to use the library, go here.

For the class reference, go here.

Clone this wiki locally