jsmn

Ultra-fast JSON parser and tokenizer library for C

brewmacoslinux
Try with needOr install directly
Source

About

World fastest JSON parser/tokenizer

Commands

jsmn

Examples

Parse a JSON string and tokenize it$ echo '{"name":"test","value":123}' | jsmn
Parse JSON from a file$ jsmn < data.json
Use jsmn as a library in C code$ gcc -I$(brew --prefix jsmn)/include myprogram.c -o myprogram