Commits

Author Commit Message Labels Comments Date
Serge Zaitsev
fixed indentation and comments style after merge
del6597
Removes the incorrect counting of tokens
del6597
Adds checking to unicode characters that are \uXXXX where X is a hexidecimal digit
del6597
Added a method for jsmn_estimate_tokens(const char *json);
Serge A. Zaitsev
fixed: invalid object/arrays were passed successfully in tree mode; added tests for this case
Serge A. Zaitsev
fixed typo
Serge A. Zaitsev
fixed tests: missing jsmn_init() before parsing; added tests for empty arrays/objects
Serge A. Zaitsev
fixed strict mode: space symbols are allowed after primitives; added some new tests
Serge A. Zaitsev
added optional parent token pointer support. Increases parsing speed
Serge A. Zaitsev
removed unused variable
Serge A. Zaitsev
tokens array items are now being initialized during allocation, removed redundant code that significantly slowed down the parser
Serge A. Zaitsev
changed return value to jsmnerr_t, fixed warning about signed/unsigned values
Serge A. Zaitsev
fix: error is returned if brackets are unmatched
Serge A. Zaitsev
fixed: superior node size is now an index, not a pointer (safe to realloc)
Serge A. Zaitsev
added reading with small number of tokens test, fixed NOMEM issue #2
Serge A. Zaitsev
added test for partial array reading
Serge A. Zaitsev
fixed typo, added JSMN_STRICT mode
Serge A. Zaitsev
added one more test case for partial string parser
Serge A. Zaitsev
tested partial parser for strings, added primitive string parser test, fixed token allocation
Serge A. Zaitsev
added tests for primitive types, primitive types now can be stored outside the objects without braces
Serge A. Zaitsev
removed JSON string and token array from parser internals, because they must not be saved between parse() calls
Serge A. Zaitsev
changed API: parse now is more flexible, but init jsut resets the parser; added new test macro to compate strings, fixed Makefile
Serge A. Zaitsev
switched to C unit-tests instead of bash
Serge A. Zaitsev
renamed: get_token to alloc_token
Serge A. Zaitsev
using system AR program, build options are moved to config.mk
Serge A. Zaitsev
added download links in README
Serge A. Zaitsev
fixed: issue #1, thanks to m_einman for his patch
Serge A. Zaitsev
README updated
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
  1. Prev
  2. Next