1. Serge Zaitsev
  2. jsmn

Source

jsmn / jsmn.c

Author Commit Message Date Builds
Serge A. Zaitsev
fixed: issue #1, thanks to m_einman for his patch
Serge A. Zaitsev
Complex types (objects and arrays) now have also size - number of child elements
Serge A. Zaitsev
Some comments added in json.c
Serge A. Zaitsev
All objects renamed using jsmn prefix to keep consistency and not be mixed with other json libraries. Demo is now called just demo.
Serge Zaitsev
Fix: check if no tokens lefs, return error in that case
Serge A. Zaitsev
jsmn: strings start from the first char after quotes
Serge A. Zaitsev
Token manipulation functions changes. size_t replaced with unsigned int.
Serge A. Zaitsev
Design: primitive type implemented as a replacement to boolean/number/null. String tokens point to the unquoted string
Serge A. Zaitsev
Design: rewritten using parser structure
Serge A. Zaitsev
Design: some error codes added
Serge A. Zaitsev
Feature: make difference between numbers and other primitives
Serge A. Zaitsev
Design: added assert macro and return macro.
Serge A. Zaitsev
Design: Added asserts in parser. Increased number of tokens in demo.
Serge A. Zaitsev
Fix: errpos has got a correct type now
Serge A. Zaitsev
Design: objects and arrays are different types now
Serge A. Zaitsev
Design: unrolled reference tables. Nested functions moved outside. Got smaller code.
Serge A. Zaitsev
Fix: error position is an offset, not a pointer
Serge A. Zaitsev
Demo separated from the jsmn code. Makefile changed. Some comments added
Serge A. Zaitsev
Initial commit. Demo program is included in the jsmn.c code. Ugly names and no comments. Please, don't read this changeset