Commit Graph

  • d0ca2df480 fixed jsmntype_t definition Serge A. Zaitsev 2014-01-27 17:11:54 +0200
  • c29d151bfa added link to the web page Serge A. Zaitsev 2014-01-27 16:04:43 +0200
  • 2b0e4464c7 Merged in frnknstn/jsmn/markdown (pull request #5) Serge Zaitsev 2014-01-27 16:09:33 +0200
  • 323395efac Merged in frnknstn/jsmn/clean (pull request #4) Serge Zaitsev 2014-01-27 16:08:19 +0200
  • 40392b73e3 fixed indentation and comments style after merge Serge A. Zaitsev 2014-01-27 15:58:43 +0200
  • e397f0dfb6 rename README so markdown renders in source control Peter Finlayson 2013-12-23 12:39:00 +0200
  • ee10da0f1e delete jsmn_test.exe when doing make clean Peter Finlayson 2013-12-23 12:29:33 +0200
  • 07af5df94b Removes the incorrect counting of tokens del6597 2013-07-19 00:23:58 -0400
  • f190d18a52 Adds checking to unicode characters that are \uXXXX where X is a hexidecimal digit Adds new tests for unicode character coverage del6597 2013-07-19 00:15:49 -0400
  • 6f4e2f7a56 Added a method for jsmn_estimate_tokens(const char *json); del6597 2013-07-17 00:05:47 -0400
  • 958c758f2e fixed: invalid object/arrays were passed successfully in tree mode; added tests for this case Serge A. Zaitsev 2012-10-22 21:54:46 +0300
  • 3d6fb06ee9 fixed typo Serge A. Zaitsev 2012-10-01 12:43:37 +0300
  • cf172e71d7 fixed tests: missing jsmn_init() before parsing; added tests for empty arrays/objects Serge A. Zaitsev 2012-10-01 11:15:48 +0300
  • e0ceee893c fixed strict mode: space symbols are allowed after primitives; added some new tests Serge A. Zaitsev 2012-09-26 20:28:12 +0300
  • 37964b40ee added optional parent token pointer support. Increases parsing speed Serge A. Zaitsev 2012-09-26 20:19:21 +0300
  • cfbb5b5091 removed unused variable Serge A. Zaitsev 2012-09-23 20:30:56 +0300
  • 974133db85 tokens array items are now being initialized during allocation, removed redundant code that significantly slowed down the parser Serge A. Zaitsev 2012-09-23 20:29:48 +0300
  • e542dea54e changed return value to jsmnerr_t, fixed warning about signed/unsigned values Serge A. Zaitsev 2012-09-03 19:54:40 +0300
  • af04595fe2 fix: error is returned if brackets are unmatched Serge A. Zaitsev 2012-02-02 14:05:47 +0200
  • f3b41ae30c fixed: superior node size is now an index, not a pointer (safe to realloc) Serge A. Zaitsev 2012-02-02 13:26:15 +0200
  • a983a76061 added reading with small number of tokens test, fixed NOMEM issue #2 Serge A. Zaitsev 2012-02-02 13:15:22 +0200
  • 53454e5429 added test for partial array reading Serge A. Zaitsev 2012-02-02 11:40:36 +0200
  • 41171ecd51 fixed typo, added JSMN_STRICT mode Serge A. Zaitsev 2012-02-01 17:51:42 +0200
  • e395ad562e added one more test case for partial string parser Serge A. Zaitsev 2012-02-01 17:18:32 +0200
  • 30f932772e tested partial parser for strings, added primitive string parser test, fixed token allocation Serge A. Zaitsev 2012-02-01 17:15:54 +0200
  • 929e233756 added tests for primitive types, primitive types now can be stored outside the objects without braces Serge A. Zaitsev 2012-02-01 16:03:36 +0200
  • 443be365f6 removed JSON string and token array from parser internals, because they must not be saved between parse() calls Serge A. Zaitsev 2012-02-01 14:02:12 +0200
  • bed0a7a3e6 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 2012-02-01 13:56:06 +0200
  • 4b5c5ed66a switched to C unit-tests instead of bash Serge A. Zaitsev 2012-02-01 12:38:51 +0200
  • 2928f7ec0e renamed: get_token to alloc_token Serge A. Zaitsev 2012-02-01 12:38:05 +0200
  • 0c22b772ed using system AR program, build options are moved to config.mk Serge A. Zaitsev 2012-01-30 14:03:36 +0200
  • d6209011a5 added download links in README Serge A. Zaitsev 2011-09-15 18:43:48 +0300
  • d6f48a6a3d fixed: issue #1, thanks to m_einman for his patch Serge A. Zaitsev 2011-03-28 13:32:44 +0300
  • 42be9208f7 README updated Serge A. Zaitsev 2010-12-28 12:06:52 +0200
  • 4e869f7e9e Complex types (objects and arrays) now have also size - number of child elements Serge A. Zaitsev 2010-12-28 11:16:41 +0200
  • c4d9412483 Some comments added in json.c Serge A. Zaitsev 2010-12-27 17:05:22 +0200
  • c955364a95 All objects renamed using jsmn prefix to keep consistency and not be mixed with other json libraries. Demo is now called just demo. Serge A. Zaitsev 2010-12-27 17:00:24 +0200
  • 4e29ee705f Fix: check if no tokens lefs, return error in that case Serge Zaitsev 2010-12-26 13:48:13 +0200
  • 9924734575 Typo in tests fixed. Argument variable quoted Serge Zaitsev 2010-12-26 13:02:40 +0200
  • 3d94cd0a18 Removed useless argument from printf Serge A. Zaitsev 2010-11-29 13:53:13 +0200
  • 2cf5193d64 README changed. Now it is a template for the official web page Serge A. Zaitsev 2010-11-29 13:52:11 +0200
  • 978ea959f4 Added test for a large number of tokens Serge A. Zaitsev 2010-11-24 11:15:21 +0200
  • 508bf43fa0 Test framework implemented Serge Zaitsev 2010-11-24 00:54:21 +0200
  • f88240ac2e Simplified demo output format Serge Zaitsev 2010-11-24 00:26:15 +0200
  • 23b8487783 Demo: option added to specify buffer size when reading Serge A. Zaitsev 2010-11-22 14:52:46 +0200
  • 8e31e4d214 jsmn: strings start from the first char after quotes Serge A. Zaitsev 2010-11-22 14:52:26 +0200
  • b91dee9102 Demo: declarations moved to the top of functions. Serge A. Zaitsev 2010-11-17 17:33:29 +0200
  • 7a027a4dd2 Token manipulation functions changes. size_t replaced with unsigned int. Serge A. Zaitsev 2010-11-17 15:16:12 +0200
  • 3922360800 Demo: options added. Number of tokens can be specified now. Serge A. Zaitsev 2010-11-17 12:19:38 +0200
  • 991ca5dd94 Demo: can now read from stdin Serge A. Zaitsev 2010-11-17 12:05:29 +0200
  • d0d52f6847 Design: primitive type implemented as a replacement to boolean/number/null. String tokens point to the unquoted string Serge A. Zaitsev 2010-11-17 12:03:26 +0200
  • 60509e2850 Design: rewritten using parser structure Serge A. Zaitsev 2010-11-16 15:41:49 +0200
  • a2755a7595 Design: some error codes added Serge A. Zaitsev 2010-11-16 13:50:13 +0200
  • daf93a0ebd Feature: make difference between numbers and other primitives Serge A. Zaitsev 2010-11-16 11:56:08 +0200
  • 470c77fa63 Design: added assert macro and return macro. Serge A. Zaitsev 2010-11-16 11:53:43 +0200
  • 30370e37f8 Design: Added asserts in parser. Increased number of tokens in demo. Serge A. Zaitsev 2010-11-16 11:45:10 +0200
  • b99663079c Fix: errpos has got a correct type now Serge A. Zaitsev 2010-11-15 17:59:51 +0200
  • b0e73ec44d Design: objects and arrays are different types now Serge A. Zaitsev 2010-11-15 17:58:50 +0200
  • a70dab5cf9 Design: unrolled reference tables. Nested functions moved outside. Got smaller code. Serge A. Zaitsev 2010-11-15 17:39:25 +0200
  • aa97d8b599 Demo: changed to read from '.js' file Serge A. Zaitsev 2010-11-15 15:46:31 +0200
  • a20a5aff1c Fix: error position is an offset, not a pointer Serge A. Zaitsev 2010-11-15 15:02:35 +0200
  • 0568be6e0b Demo separated from the jsmn code. Makefile changed. Some comments added Serge A. Zaitsev 2010-11-15 15:00:42 +0200
  • 6b6b3ba5c1 README and LICENSE added. MIT license choosen. Serge A. Zaitsev 2010-11-15 13:27:14 +0200
  • f22c2d30b7 Initial commit. Demo program is included in the jsmn.c code. Ugly names and no comments. Please, don't read this changeset Serge A. Zaitsev 2010-11-15 13:11:08 +0200