New, fastest JSON library for C++20

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • glaze

    Extremely fast, in memory, JSON and interface library for modern C++

  • Developed a new, open source JSON library, Glaze, that seems to be the fastest in the world for direct memory reading/writing. I will caveat that simdjson is probably faster in lazy contexts, but glaze should be faster when reading and writing directly from C++ structs.

  • glaze-conan

    Discontinued A basic Conan recipe for the glaze json IO library

  • A fellow Redditor made a Conan package yesterday: https://github.com/Ahajha/glaze-conan

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • We will add more benchmarks in the future, but for now you can see the comparison of daw_json_link with rapidjson. glaze is faster than daw_json_link, which is over twice as fast as rapidjson.

  • watcher

    Filesystem watcher. Works anywhere. Simple, efficient and friendly. (by e-dant)

  • You starred my filesystem watcher (one of the first) so I know you know good code ;)

  • benchmarks

    Some benchmarks of different languages

  • https://github.com/kostya/benchmarks is the current ratings. Should be an easy PR to them too.

  • json

    A C++11 library for parsing and serializing JSON to and from a DOM container in memory. (by boostorg)

  • Shouldn't your benchmark use a somewhat larger JSON? Something from https://github.com/boostorg/json/tree/develop/bench/data, for instance.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts