2017-01-12 17:57:34 +08:00
# JsonCpp
2007-06-15 05:01:26 +08:00
2019-03-18 21:02:50 +08:00
[](https://bintray.com/theirix/conan-repo/jsoncpp%3Atheirix)
2017-04-10 01:14:38 +08:00
2014-07-01 09:56:56 +08:00
[JSON][json-org] is a lightweight data-interchange format. It can represent
numbers, strings, ordered sequences of values, and collections of name/value
pairs.
2007-06-15 05:01:26 +08:00
2014-07-01 09:56:56 +08:00
[json-org]: http://json.org/
2007-06-15 05:01:26 +08:00
2017-01-12 17:57:34 +08:00
JsonCpp is a C++ library that allows manipulating JSON values, including
2014-07-01 09:56:56 +08:00
serialization and deserialization to and from strings. It can also preserve
existing comment in unserialization/serialization steps, making it a convenient
format to store user input files.
2007-06-15 05:01:26 +08:00
2017-01-12 17:57:34 +08:00
## Documentation
[JsonCpp documentation][JsonCpp-documentation] is generated using [Doxygen][].
[JsonCpp-documentation]: http://open-source-parsers.github.io/jsoncpp-docs/doxygen/index.html
[Doxygen]: http://www.doxygen.org
2015-02-13 01:18:23 +08:00
2014-11-04 02:39:01 +08:00
## A note on backward-compatibility
2017-01-12 17:57:34 +08:00
2015-02-13 01:18:23 +08:00
* `1.y.z` is built with C++11.
2015-03-06 11:45:42 +08:00
* `0.y.z` can be used with older compilers.
2015-02-13 01:18:23 +08:00
* Major versions maintain binary-compatibility.
2013-05-09 04:21:11 +08:00
2010-04-21 05:35:19 +08:00
2017-08-28 04:16:43 +08:00
## Using JsonCpp in your project
### Amalgamated source
https://github.com/open-source-parsers/jsoncpp/wiki/Amalgamated
2018-10-19 01:12:46 +08:00
### The Meson Build System
If you are using the [Meson Build System ](http://mesonbuild.com ), then you can get a wrap file by downloading it from [Meson WrapDB ](https://wrapdb.mesonbuild.com/jsoncpp ), or simply use `meson wrap install jsoncpp` .
2017-08-28 04:16:43 +08:00
### Other ways
If you have trouble, see the Wiki, or post a question as an Issue.
2017-01-12 17:57:34 +08:00
## License
2014-07-01 11:13:46 +08:00
See the `LICENSE` file for details. In summary, JsonCpp is licensed under the
2010-04-21 05:35:19 +08:00
MIT license, or public domain if desired and recognized in your jurisdiction.