Author Commit Message Labels Comments Date
Default avatar Serge A. Zaitsev
fix: error is returned if brackets are unmatched
Default avatar Serge A. Zaitsev
fixed: superior node size is now an index, not a pointer (safe to realloc)
Default avatar Serge A. Zaitsev
added reading with small number of tokens test, fixed NOMEM issue #2
Default avatar Serge A. Zaitsev
added test for partial array reading
Default avatar Serge A. Zaitsev
fixed typo, added JSMN_STRICT mode
Default avatar Serge A. Zaitsev
added one more test case for partial string parser
Default avatar Serge A. Zaitsev
tested partial parser for strings, added primitive string parser test, fixed token allocation
Default avatar Serge A. Zaitsev
added tests for primitive types, primitive types now can be stored outside the objects without braces
Default avatar Serge A. Zaitsev
removed JSON string and token array from parser internals, because they must not be saved between parse() calls
Default avatar 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
Default avatar Serge A. Zaitsev
switched to C unit-tests instead of bash
Default avatar Serge A. Zaitsev
renamed: get_token to alloc_token
Default avatar Serge A. Zaitsev
using system AR program, build options are moved to config.mk
Default avatar Serge A. Zaitsev
added download links in README
Default avatar Serge A. Zaitsev
fixed: issue #1, thanks to m_einman for his patch
Default avatar Serge A. Zaitsev
README updated
Default avatar Serge A. Zaitsev
Complex types (objects and arrays) now have also size - number of child elements
Default avatar Serge A. Zaitsev
Some comments added in json.c
Default avatar 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.
Default avatar Serge Zaitsev
Fix: check if no tokens lefs, return error in that case
Default avatar Serge Zaitsev
Typo in tests fixed. Argument variable quoted
Default avatar Serge A. Zaitsev
Removed useless argument from printf
Default avatar Serge A. Zaitsev
README changed. Now it is a template for the official web page
Default avatar Serge A. Zaitsev
Added test for a large number of tokens
Default avatar Serge Zaitsev
Test framework implemented
Default avatar Serge Zaitsev
Simplified demo output format
Default avatar Serge A. Zaitsev
Demo: option added to specify buffer size when reading
Default avatar Serge A. Zaitsev
jsmn: strings start from the first char after quotes
Default avatar Serge A. Zaitsev
Demo: declarations moved to the top of functions.
Default avatar Serge A. Zaitsev
Token manipulation functions changes. size_t replaced with unsigned int.
  1. Prev
  2. Next
Help
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.