jsoncpp
brew install jsoncpp
v1.9.8
MIT
C++ library for parsing, generating, and manipulating JSON with optional comment preservation.
Why you might care
JsonCpp is a mature, stable library commonly used as a build dependency in C++ projects that need JSON support. It handles both serialization and deserialization, preserves comments during round-trip parsing (useful for config files), and is widely integrated into larger applications and build chains.
5.5k
30-day installs · #561
14.8k
90-day · #656
49.8k
365-day · #692
8.9k
★ GitHub stars · updated 2mo ago
Build dependencies
Links
- https://github.com/open-source-parsers/jsoncpp
- GitHub: open-source-parsers/jsoncpp
- Brew formula source: Formula/j/jsoncpp.rb
Blurb generated by claude-haiku-4-5 on 2mo ago.
Raw metadata
{
"aliases": [],
"alternatives": [
"RapidJSON",
"nlohmann/json",
"Boost.JSON"
],
"build_dependencies": [
"meson",
"ninja"
],
"categories": [
"library",
"json-tool"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Library for interacting with JSON",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:39:06+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "jsoncpp",
"github_default_branch": "master",
"github_last_commit_at": "2026-06-17T08:07:16Z",
"github_readme_excerpt": "# JsonCpp\n\n[](https://conan.io/center/recipes/jsoncpp)\n[](https://github.com/open-source-parsers/jsoncpp/blob/master/LICENSE)\n[](http://open-source-parsers.github.io/jsoncpp-docs/doxygen/index.html)\n[](https://coveralls.io/github/open-source-parsers/jsoncpp?branch=master)\n\n[JSON][json-org] is a lightweight data-interchange format. It can represent\nnumbers, strings, ordered sequences of values, and collections of name/value\npairs.\n\n[json-org]: http://json.org/\n\nJsonCpp is a C++ library that allows manipulating JSON values, including\nserialization and deserialization to and from strings. It can also preserve\nexisting comment in deserialization/serialization steps, making it a convenient\nformat to store user input files.\n\n## Project Status\n\nJsonCpp is a mature project in maintenance mode. Our priority is providing a stable,\nreliable JSON library for the long tail of C++ development.\n\n### Current Focus\n\n* **Security:** Addressing vulnerabilities and fuzzing results.\n* **Compatibility:** Ensuring the library builds without warnings on the latest versions of GCC,\nClang, and MSVC.\n* **Reliability:** Fixing regressions and critical logical bugs.\n\n### Out of Scope\n\n* **Performance:** We are not competing with SIMD-accelerated or reflection-based parsers.\n* **Features:** We are generally not accepting requests for new data formats or major API changes.\n\nJsonCpp remains a primary choice for developers who require comment preservation and support for\nlegacy toolchains where modern C++ standards are unavailable. The library is intended to be a\nreliable dependency that does not require frequent updates or major migration efforts.\n\n## A note on backward-compatibility\n\n* **`1.y.z` (master):** Actively mai",
"github_repo": "open-source-parsers/jsoncpp",
"github_stars": 8851,
"github_topics": [],
"homepage": "https://github.com/open-source-parsers/jsoncpp",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 5499,
"installs_365d": 49821,
"installs_90d": 14845,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": "2026-06-20T23:45:39+00:00",
"llm_model": "claude-haiku-4-5",
"name": "jsoncpp",
"oldnames": [],
"one_liner": "C++ library for parsing, generating, and manipulating JSON with optional comment preservation.",
"optional_dependencies": [],
"rank_30d": 561,
"rank_365d": 692,
"rank_90d": 656,
"raw_hash": "8d146702b03ee2b3",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/j/jsoncpp.rb",
"tap": "homebrew/core",
"test_dependencies": [
"cmake"
],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "1.9.8",
"versioned_formulae": [],
"why_use_this": "JsonCpp is a mature, stable library commonly used as a build dependency in C++ projects that need JSON support. It handles both serialization and deserialization, preserves comments during round-trip parsing (useful for config files), and is widely integrated into larger applications and build chains."
}