header-only · C++17 · dependency-free
Tiny JSON.
Serious contracts.
Jsonic++ is a tiny, embeddable JSON parser for C++. It is the standalone home of the parser already used inside Nift and Minify++, with a deliberately small API and an equally deliberate testing story.
#include "json.h"
json::Document doc;
std::string error;
json::Document::parse(
text, doc, error
);
std::cout << doc["name"].string; 1public header
0runtime dependencies
C++17toolchain baseline
2synchronized downstream consumers
The proposition
Small enough to vendor. Explicit enough to trust.
Parse JSON, inspect values, stream a named array when useful, serialize again when needed, and get actionable errors when the input is wrong. Jsonic++ deliberately stops before becoming a giant serialization ecosystem.