1. Serge Zaitsev
  2. jsmn

Source

jsmn / jsmn_test.c

Author Commit Message Date Builds
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