json-c

JSON parser and manipulation library for C programs

brewmacoslinux
Try with needOr install directly
Source

About

JSON parser for C

Commands

json-c

Examples

Parse and pretty-print a JSON file$ cat data.json | json_parse
Use json-c library in C code for JSON parsing$ gcc -o myapp myapp.c $(pkg-config --cflags --libs json-c)
Check json-c version and library information$ pkg-config --modversion json-c