Source

jsmn / jsmn_test.c

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