Go to file
nicolaswilson a955529e47 Added emitUTF8 setting. (#1045)
* Added emitUTF8 setting to emit UTF8 format JSON.

* Added a test for emitUTF8, with it in default, on and off states.

* Review comments addressed.

* Merged master into my branch & resolved conflicts.

* Fix clang-format errors.

* Fix clang-format errors.

* Fixed clang-format errors.

* Fixed clang-format errors.
2019-10-17 10:47:51 -07:00
.github/ISSUE_TEMPLATE Update issue templates 2019-06-24 14:40:08 -07:00
.travis_scripts Issue #958: Travis CI should enforce clang-format standards (#1026) 2019-10-11 11:19:00 -07:00
devtools Restore BL's authorship attribution, and add "The Jsoncpp Authors" where it was missing. 2017-07-21 03:44:36 -07:00
doc Cleanup versioning strategy relanding (#989) (#997) 2019-08-13 22:41:43 -07:00
example Fix fuzzer off by one error (#1047) 2019-10-11 15:08:42 -07:00
include add a new method to insert a new value in an array at specific index. (#949) 2019-10-16 14:33:53 +08:00
pkg-config pkgconfig: Fix for cross compilation (#1027) 2019-09-17 12:46:55 -07:00
src Added emitUTF8 setting. (#1045) 2019-10-17 10:47:51 -07:00
test ENH: Refactor and enhance the CI testing infrastructure 2019-01-14 16:12:43 -06:00
.clang-format Issue #958: Travis CI should enforce clang-format standards (#1026) 2019-10-11 11:19:00 -07:00
.clang-tidy clang-tidy fixes (#1033) 2019-09-25 14:03:30 -07:00
.gitattributes add .gitattributes 2015-08-09 16:25:36 -07:00
.gitignore Cleanup versioning strategy relanding (#989) (#997) 2019-08-13 22:41:43 -07:00
.travis.yml add coveralls to test coverage (#1060) 2019-10-17 10:46:41 -07:00
amalgamate.py Issue #970: Rename features.h to json_features.h (#1024) 2019-09-25 14:04:53 -07:00
appveyor.yml Update appveyor to use build images 2019-06-25 14:48:40 -07:00
AUTHORS Add a simple fuzz test for jsoncpp. 2019-06-27 11:58:42 -07:00
CMakeLists.txt BUG: New CMake features used that break backward compatibility 2019-10-17 11:11:34 -05:00
CONTRIBUTING.md Fix dead link in CONTRIBUTING.md (#1044) 2019-10-10 10:22:25 +08:00
CTestConfig.cmake ENH: Refactor and enhance the CI testing infrastructure 2019-01-14 16:12:43 -06:00
dev.makefile Rename version.md to version.txt 2019-04-24 23:56:30 -05:00
doxybuild.py Spelling (#703) 2017-12-03 10:54:29 -06:00
LICENSE Restore BL's authorship attribution, and add "The Jsoncpp Authors" where it was missing. 2017-07-21 03:44:36 -07:00
makerelease.py Spelling (#703) 2017-12-03 10:54:29 -06:00
meson.build Issue #970: Rename features.h to json_features.h (#1024) 2019-09-25 14:04:53 -07:00
README.md Add vcpkg installation instructions (#1037) 2019-10-01 12:53:42 -07:00
version.in generate both version.h and version from CMakelists.txt 2015-03-05 18:27:39 -06:00

JsonCpp

badge

JSON is a lightweight data-interchange format. It can represent numbers, strings, ordered sequences of values, and collections of name/value pairs.

JsonCpp is a C++ library that allows manipulating JSON values, including 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.

Documentation

JsonCpp documentation is generated using Doxygen.

A note on backward-compatibility

  • 1.y.z is built with C++11.
  • 0.y.z can be used with older compilers.
  • Major versions maintain binary-compatibility.

Using JsonCpp in your project

The vcpkg dependency manager

You can download and install JsonCpp using the vcpkg dependency manager:

git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
vcpkg install jsoncpp

The JsonCpp port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please create an issue or pull request on the vcpkg repository.

Amalgamated source

https://github.com/open-source-parsers/jsoncpp/wiki/Amalgamated

The Meson Build System

If you are using the Meson Build System, then you can get a wrap file by downloading it from Meson WrapDB, or simply use meson wrap install jsoncpp.

Other ways

If you have trouble, see the Wiki, or post a question as an Issue.

License

See the LICENSE file for details. In summary, JsonCpp is licensed under the MIT license, or public domain if desired and recognized in your jurisdiction.