Commits

Author Commit Message Labels Comments Date
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 Zaitsev
Typo in tests fixed. Argument variable quoted
Serge A. Zaitsev
Removed useless argument from printf
Serge A. Zaitsev
README changed. Now it is a template for the official web page
Serge A. Zaitsev
Added test for a large number of tokens
Serge Zaitsev
Test framework implemented
Serge Zaitsev
Simplified demo output format
Serge A. Zaitsev
Demo: option added to specify buffer size when reading
Serge A. Zaitsev
jsmn: strings start from the first char after quotes
Serge A. Zaitsev
Demo: declarations moved to the top of functions.
Serge A. Zaitsev
Token manipulation functions changes. size_t replaced with unsigned int.
Serge A. Zaitsev
Demo: options added. Number of tokens can be specified now.
Serge A. Zaitsev
Demo: can now read from stdin
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
Demo: changed to read from '.js' file
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
README and LICENSE added. MIT license choosen.
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
  1. Prev
  2. Next