| JsonCpp project page | JsonCpp home page |
JSON (JavaScript Object Notation) is a lightweight data-interchange format. It can represent integer, real number, string, an ordered sequence of value, and a collection of name/value pairs.
Here is an example of JSON data:
// Configuration options
{
// Default encoding for text
"encoding" : "UTF-8",
// Plug-ins loaded at start-up
"plug-ins" : [
"python",
"c++",
"ruby"
],
// Tab indent size
"indent" : { "length" : 3, "use_space" = true }
}
Notes: Comments used to be supported in JSON but where removed for portability (C like comments are not supported in Python). Since comments are useful in configuration/input file, this feature was preserved.
The build instructions are located in the file README.txt in the top-directory of the project.
Permanent link to the latest revision of the file in subversion: latest README.txt
The sources can be downloaded from SourceForge download page.
The latest version of the source is available in the project's subversion repository: http://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk/
To checkout the source, see the following instructions.
The json-cpp library and this documentation are in Public Domain.
|
|
hosts this site. |
Send comments to: Json-cpp Developers |