Native JSON Benchmark is a benchmark suite for comparing C and C++ JSON parser and generator libraries. It evaluates both conformance and performance, which helps avoid treating speed as meaningful when a library does not parse or generate JSON correctly. The benchmark measures areas such as parsing speed, generation speed, memory use, and code size across many open-source libraries. It includes test data and JSON standard checks so implementations can be compared under more consistent conditions. The project is useful for library authors, C++ developers, and performance-focused engineers choosing a JSON implementation. Its main value is providing a transparent reference point for understanding tradeoffs among native JSON libraries.
Features
- Benchmark suite for C and C++ JSON libraries
- Conformance checks against JSON standards
- Parsing and generation performance testing
- Memory usage and code size comparisons
- Test data for consistent evaluation
- Useful for selecting or improving JSON implementations