A mature C++ library for reading, writing, and manipulating JSON data with comment preservation.
JsonCpp is a C++ library for reading, writing, and manipulating JSON data. It provides serialization and deserialization capabilities, allowing C++ applications to easily work with the JSON data interchange format. A key feature is its ability to preserve comments in JSON files, making it particularly useful for handling user-editable configuration files.
C++ developers who need a stable, reliable JSON library for applications like configuration management, data interchange, or legacy systems where modern C++ standards are not available.
Developers choose JsonCpp for its proven stability, comment preservation feature, and support for legacy C++ toolchains. It is maintained as a dependable dependency that avoids breaking changes, unlike newer, performance-focused alternatives.
A C++ library for interacting with JSON.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uniquely maintains comments during serialization and deserialization, essential for editable configuration files as highlighted in the README.
As a mature library in maintenance mode, it prioritizes security fixes and compatibility, making it a reliable long-term dependency.
Offers a dedicated branch for pre-C++11 compilers, accommodating older systems where modern C++ is unavailable.
Major versions avoid breaking changes to maintain binary compatibility, ensuring smooth upgrades for existing projects.
Explicitly not optimized for speed compared to SIMD or reflection-based parsers, making it slower for high-throughput scenarios.
In maintenance mode, so new features or data formats are generally not added, limiting its adaptability to evolving needs.
Package manager ports like vcpkg and Conan are community-maintained, which can lead to outdated versions or missing generators, complicating setup.