rapidjson
« Back to VersTracker
Description:
JSON parser/generator for C++ with SAX and DOM style APIs
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c++ json parser library header-only
Install: brew install rapidjson
About:
RapidJSON is a high-performance JSON parser and generator for C++. It provides both SAX (Simple API for XML) style event-driven parsing for low-latency streaming and DOM (Document Object Model) style in-memory manipulation. Its key value proposition is exceptional speed and memory efficiency, achieved through a template-based design and optimized algorithms.
Key Features:
  • High performance with minimal memory allocation
  • Supports both SAX and DOM APIs
  • Header-only library, no dependencies
  • Fully compliant with JSON standards (RFC 7159)
Use Cases:
  • High-frequency trading systems requiring low-latency data serialization
  • Game development for asset loading and network protocols
  • Embedded systems with constrained memory resources
Alternatives:
  • nlohmann/json – Focuses on ease of use with intuitive syntax, whereas RapidJSON prioritizes raw performance and memory efficiency.
  • JsonCpp – An older, widely used library, but generally slower and less memory-efficient than RapidJSON.
Version History
Detected Version Rev Change Commit