rapidjson

Fast JSON parser/generator library for C++ with SAX and DOM APIs

brewmacoslinux
Try with needOr install directly
Source

About

JSON parser/generator for C++ with SAX and DOM style APIs

Commands

rapidjson

Examples

Parse JSON file using DOM API in C++ program$ cat example.json | your_program_using_rapidjson
Include RapidJSON headers in C++ project$ g++ -I$(brew --prefix rapidjson)/include myapp.cpp -o myapp
Validate JSON syntax by parsing with DOM$ echo '{"key":"value"}' | your_rapidjson_validator