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 b0e73ec44d
Design: objects and arrays are different types now
14 years ago
LICENSE README and LICENSE added. MIT license choosen. 14 years ago
Makefile Demo separated from the jsmn code. Makefile changed. Some comments added 14 years ago
README README and LICENSE added. MIT license choosen. 14 years ago
demo.c Design: unrolled reference tables. Nested functions moved outside. Got smaller code. 14 years ago
jsmn.c Design: objects and arrays are different types now 14 years ago
jsmn.h Demo separated from the jsmn code. Makefile changed. Some comments added 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)