Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Serge A. Zaitsev 8e31e4d214
jsmn: strings start from the first char after quotes
14 years ago
LICENSE README and LICENSE added. MIT license choosen. 14 years ago
Makefile Design: primitive type implemented as a replacement to boolean/number/null. String tokens point to the unquoted string 14 years ago
README README and LICENSE added. MIT license choosen. 14 years ago
demo.c Demo: declarations moved to the top of functions. 14 years ago
jsmn.c jsmn: strings start from the first char after quotes 14 years ago
jsmn.h Token manipulation functions changes. size_t replaced with unsigned int. 14 years ago

README

JSMN - Minimalistic JSON parser library

=======================================

jsmn (pronounced right as `jasmine`) is a simple and clean library for parsing
JSON (JavaScript Object Notation) data format.

You can find more information on JSON at http://www.json.org/

Philosophy
==========

jsmn will never be large and complex. This means it will never have extra
features or any bloated dependencies, besides libc.
It will always be suitable for embedded systems and other resource-limited
systems. It will always have clear API.

Features
========

o Just 200 lines of code
o Full C89 compatibility
o No memory allocation inside the library code
o A single pass is required to parse JSON data
o MIT license (you can include this code into your proprietary software)