jsoncpp

C++ library for reading and writing JSON data

brewmacoslinux
Try with needOr install directly
Source

About

Library for interacting with JSON

Commands

jsoncpp

Examples

Parse JSON from a file and pretty-print it$ cat input.json | jsoncpp
Validate JSON syntax from command line$ echo '{"name": "test"}' | jsoncpp
Use jsoncpp in C++ code to parse JSON$ cat > test.cpp << 'EOF' #include <json/json.h> int main() { Json::CharReaderBuilder builder; Json::Value root; // Parse JSON return 0; } EOF