Parsing JSON in C

jsmn is a minimalistic JSON parser in C. It can be easily integrated into the resource-limited projects or embedded systems. Library sources are available at bitbucket.org/zserge/jsmn.


> simple
> highly portable (tested on x86/amd64, ARM, AVR)
> compatible with C89
> no dependencies (even libc!)
> no dynamic memory allocation
> extremely small code footprint – it’s just about 200 LOC
> API has only 2 functions
> incremental single-pass parsing
> library code is covered with tests

Source folder contains two examples to begin with. Download.