🍺 BREW Explorer

← all formulae

nlohmann-json

brew install nlohmann-json v3.12.0 MIT

Header-only C++ library providing single-file JSON parsing and serialization for C++11 and later.

Why you might care

Drop-in JSON handling for C++ projects without external dependencies—just include the single header file. Widely used in C++ codebases for its intuitive STL-like API and excellent standards compliance; no separate compilation step needed. Popular alternative to RapidJSON when you prioritize ease of integration over raw speed.

Categories

Alternatives

RapidJSON Boost.JSON nlohmann/json simdjson
2.8k
30-day installs · #825
9.3k
90-day · #841
49.4k
365-day · #698

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "RapidJSON",
    "Boost.JSON",
    "nlohmann/json",
    "simdjson"
  ],
  "build_dependencies": [
    "cmake"
  ],
  "categories": [
    "header-only-library",
    "json-tool",
    "library"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "JSON for modern C++",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:08+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "nlohmann-json",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://json.nlohmann.me/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "JSON for Modern C++ - JSON for Modern C++",
  "installs_30d": 2801,
  "installs_365d": 49401,
  "installs_90d": 9281,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": "2026-06-20T23:47:16+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "nlohmann-json",
  "oldnames": [],
  "one_liner": "Header-only C++ library providing single-file JSON parsing and serialization for C++11 and later.",
  "optional_dependencies": [],
  "rank_30d": 825,
  "rank_365d": 698,
  "rank_90d": 841,
  "raw_hash": "fd3380395d45974e",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/n/nlohmann-json.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "3.12.0",
  "versioned_formulae": [],
  "why_use_this": "Drop-in JSON handling for C++ projects without external dependencies\u2014just include the single header file. Widely used in C++ codebases for its intuitive STL-like API and excellent standards compliance; no separate compilation step needed. Popular alternative to RapidJSON when you prioritize ease of integration over raw speed."
}