GitHub - RealTimeChris/Jsonifier: A few classes for extremely fast json parsing/serializing in modern C++. Possibly the fastest json parser in C++. Possibly the fastest json serializer in C++. (original) (raw)
It achieves this through the usage of simd-instructions as well as compile-time hash-maps for the keys of the data being parsed.
Jsonifier doesn’t just parse JSON — it survives it. Every build is battle-hardened against malformed input by a custom fuzz-simulation test that systematically corrupts a 2000+ character JSON string one byte at a time, generating thousands of progressively invalid permutations. Each variant is force-fed through both parsing and schema validation. The result? Zero crashes. Zero memory violations. Zero undefined behavior. Jsonifier passes this gauntlet under UBSAN and ASAN with full memory and bounds safety — proving it’s not just fast, but ferociously robust in the face of chaos.