JSON processing
Tokenize, parse, evaluate, and pretty-print JSON input.
A compact C++20 command-line JSON processor inspired by jq, built around a tokenizer, parser, evaluator, and pretty-printer.
echo '{"x": 10, "y": 5}' | jqcpp '.x + .y'
15
Tokenize, parse, evaluate, and pretty-print JSON input.
Use identity filters, field access, array indexes, and slices.
Use pipes, numeric arithmetic, length, and keys.
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
Watch the short jqcpp introduction video for an overview of the project and command-line behavior.
Open YouTube video