talira

Compare

RapidJSONsimdjsonJSON for Modern C++
What it isA fast JSON parser/generator for C++ with both SAX/DOM style APIA C++ JSON parser that uses SIMD instructions to parse gigabytes of JSON per secondWhat if JSON was part of modern C++?
KindOpen sourceOpen sourceOpen source
Trust0.580.740.79
Stars151602466651018
Last commit2026-11-032026-11-282026-11-23
LicenceMITApache-2.0 OR MITMIT
PricingFree and open sourceFree and open sourceFree and open source
Free tierYes—Yes
Self-hostable———
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins———
MCP server———
CompanyTencentsimdjsonNiels Lohmann
Features
  • header-only C++ JSON parser and generator
  • SAX and DOM APIs
  • no dependencies, not even the STL
  • SSE2/SSE4.2 acceleration
  • UTF-8, UTF-16 and UTF-32 with transcoding
  • JSON Pointer and JSON Schema validation
  • Parses JSON at gigabytes per second using SIMD instructions
  • Full JSON and UTF-8 validation, lossless parsing
  • On-Demand API that parses only the fields you read
  • Minifies JSON and validates UTF-8 on its own
  • Multithreaded parsing of newline-delimited JSON
  • Single-header distribution, or a CMake build
  • Picks the fastest code path for the CPU at runtime
  • single header, header-only
  • STL-like json type
  • arbitrary type conversions
  • BSON, CBOR, MessagePack, UBJSON and BJData
  • JSON Pointer, JSON Patch and Merge Patch
  • works without exceptions