A fast JSON parser/generator for C++ with both SAX/DOM style API (by Tencent)


Basic RapidJSON repo stats
2 days ago

Tencent/rapidjson is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

RapidJSON Alternatives

Similar projects and alternatives to RapidJSON

  • GitHub repo json

    JSON for Modern C++

  • GitHub repo POCO

    The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.

  • GitHub repo yaml-cpp

    A YAML parser and emitter in C++

  • GitHub repo fast_float

    Fast and exact implementation of the C++ from_chars functions for float and double types: 4x faster than strtod

  • GitHub repo rsocket-cpp

    C++ implementation of RSocket

  • GitHub repo Jinx

    Embeddable scripting language for real-time applications

  • GitHub repo json_dto

    A small header-only library for converting data between json representation and c++ structs (by Stiffstream)

  • GitHub repo beast

    Beast is now part of Boost, please visit (and Star!) the official repository (by vinniefalco)

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better RapidJSON alternative or higher similarity.


Posts where RapidJSON has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-04-19.
  • How and where I can learn about Web sockets, APIs, Wrappers to connect with my C++ code?
    reddit.com/r/Cplusplus | 2021-04-19
    RapidJSON is also excellent, like fantastic when performance matters. Not sure there's a much faster JSON implementation anywhere, and I've written my own SAX-style parser as a fun, hobby project for C++.
  • Can anyone point me to an open-source project that correctly uses allocators?
  • I need help with list project
    You could try implementing this all yourself, it shouldn't be too hard if you have a decent understanding of C++, but you should know that there are plenty of libraries out there that can make this easier. * If having a very human-readable file isn't a requirement, you can save all the data into a JSON file. When the user wants to view all the contents, you can just have it read out all the added items in the file, so the user wouldn't have to go searching through the file themselves. A library I'd recommend is rapidjson.
  • Fastfloat – C++ library 4x faster than strtod
    news.ycombinator.com | 2021-01-30
    The implementation buried inside RapidJSON is also very fast.


  • How to write and read JSON files with C++