Gabriel Gritsch
|
c91adceded
|
- Added possibility to specify the lenght of the input buffer (if not null-terminated).
- Added "extern C" to use it with CPP.
|
2014-02-16 10:45:20 +01:00 |
|
Gabriel Gritsch
|
659842c65c
|
- Added possibility to specify the lenght of the input buffer (if not null-terminated).
- Added "extern C" to use it with CPP.
|
2014-02-16 10:42:27 +01:00 |
|
Gabriel Gritsch
|
385b42e740
|
- Added possibility to specify the lenght of the input buffer (if not null-terminated).
- Added "extern C" to use it with CPP.
|
2014-02-12 17:53:45 +01:00 |
|
Serge A. Zaitsev
|
86350f2bb1
|
a proper fix for signed comparison
|
2014-02-09 17:09:15 +02:00 |
|
Serge A. Zaitsev
|
da95978033
|
added cast size_t to int to avoid warnings, removed string.h header since it was merged by accident
|
2014-02-09 17:04:39 +02:00 |
|
Serge A. Zaitsev
|
d0ca2df480
|
fixed jsmntype_t definition
|
2014-01-27 17:11:54 +02:00 |
|
Serge A. Zaitsev
|
c29d151bfa
|
added link to the web page
|
2014-01-27 16:04:43 +02:00 |
|
Serge Zaitsev
|
2b0e4464c7
|
Merged in frnknstn/jsmn/markdown (pull request #5)
rename README so markdown renders in source control
|
2014-01-27 16:09:33 +02:00 |
|
Serge Zaitsev
|
323395efac
|
Merged in frnknstn/jsmn/clean (pull request #4)
delete jsmn_test.exe when doing make clean
|
2014-01-27 16:08:19 +02:00 |
|
Serge A. Zaitsev
|
40392b73e3
|
fixed indentation and comments style after merge
|
2014-01-27 15:58:43 +02:00 |
|
Peter Finlayson
|
e397f0dfb6
|
rename README so markdown renders in source control
The readme file is in markdown, but most source control systems and repos (including bitbucket) expect a markdown readme to be called README.md
|
2013-12-23 12:39:00 +02:00 |
|
Peter Finlayson
|
ee10da0f1e
|
delete jsmn_test.exe when doing make clean
When building the jsmn test suite on Windows via mingw, the output executable is called "jsmn_test.exe" instead of just "jsmn_test".
|
2013-12-23 12:29:33 +02:00 |
|
del6597
|
07af5df94b
|
Removes the incorrect counting of tokens
|
2013-07-19 00:23:58 -04:00 |
|
del6597
|
f190d18a52
|
Adds checking to unicode characters that are \uXXXX where X is a hexidecimal digit
Adds new tests for unicode character coverage
|
2013-07-19 00:15:49 -04:00 |
|
del6597
|
6f4e2f7a56
|
Added a method for jsmn_estimate_tokens(const char *json);
|
2013-07-17 00:05:47 -04:00 |
|
Serge A. Zaitsev
|
958c758f2e
|
fixed: invalid object/arrays were passed successfully in tree mode; added tests for this case
|
2012-10-22 21:54:46 +03:00 |
|
Serge A. Zaitsev
|
3d6fb06ee9
|
fixed typo
|
2012-10-01 12:43:37 +03:00 |
|
Serge A. Zaitsev
|
cf172e71d7
|
fixed tests: missing jsmn_init() before parsing; added tests for empty arrays/objects
|
2012-10-01 11:15:48 +03:00 |
|
Serge A. Zaitsev
|
e0ceee893c
|
fixed strict mode: space symbols are allowed after primitives; added some new tests
|
2012-09-26 20:28:12 +03:00 |
|
Serge A. Zaitsev
|
37964b40ee
|
added optional parent token pointer support. Increases parsing speed
|
2012-09-26 20:19:21 +03:00 |
|
Serge A. Zaitsev
|
cfbb5b5091
|
removed unused variable
|
2012-09-23 20:30:56 +03:00 |
|
Serge A. Zaitsev
|
974133db85
|
tokens array items are now being initialized during allocation, removed redundant code that significantly slowed down the parser
|
2012-09-23 20:29:48 +03:00 |
|
Serge A. Zaitsev
|
e542dea54e
|
changed return value to jsmnerr_t, fixed warning about signed/unsigned values
|
2012-09-03 19:54:40 +03:00 |
|
Serge A. Zaitsev
|
af04595fe2
|
fix: error is returned if brackets are unmatched
|
2012-02-02 14:05:47 +02:00 |
|
Serge A. Zaitsev
|
f3b41ae30c
|
fixed: superior node size is now an index, not a pointer (safe to realloc)
|
2012-02-02 13:26:15 +02:00 |
|
Serge A. Zaitsev
|
a983a76061
|
added reading with small number of tokens test, fixed NOMEM issue #2
|
2012-02-02 13:15:22 +02:00 |
|
Serge A. Zaitsev
|
53454e5429
|
added test for partial array reading
|
2012-02-02 11:40:36 +02:00 |
|
Serge A. Zaitsev
|
41171ecd51
|
fixed typo, added JSMN_STRICT mode
|
2012-02-01 17:51:42 +02:00 |
|
Serge A. Zaitsev
|
e395ad562e
|
added one more test case for partial string parser
|
2012-02-01 17:18:32 +02:00 |
|
Serge A. Zaitsev
|
30f932772e
|
tested partial parser for strings, added primitive string parser test, fixed token allocation
|
2012-02-01 17:15:54 +02:00 |
|
Serge A. Zaitsev
|
929e233756
|
added tests for primitive types, primitive types now can be stored outside the objects without braces
|
2012-02-01 16:03:36 +02:00 |
|
Serge A. Zaitsev
|
443be365f6
|
removed JSON string and token array from parser internals, because they must not be saved between parse() calls
|
2012-02-01 14:02:12 +02:00 |
|
Serge A. Zaitsev
|
bed0a7a3e6
|
changed API: parse now is more flexible, but init jsut resets the parser; added new test macro to compate strings, fixed Makefile
|
2012-02-01 13:56:06 +02:00 |
|
Serge A. Zaitsev
|
4b5c5ed66a
|
switched to C unit-tests instead of bash
|
2012-02-01 12:38:51 +02:00 |
|
Serge A. Zaitsev
|
2928f7ec0e
|
renamed: get_token to alloc_token
|
2012-02-01 12:38:05 +02:00 |
|
Serge A. Zaitsev
|
0c22b772ed
|
using system AR program, build options are moved to config.mk
|
2012-01-30 14:03:36 +02:00 |
|
Serge A. Zaitsev
|
d6209011a5
|
added download links in README
|
2011-09-15 18:43:48 +03:00 |
|
Serge A. Zaitsev
|
d6f48a6a3d
|
fixed: issue #1, thanks to m_einman for his patch
|
2011-03-28 13:32:44 +03:00 |
|
Serge A. Zaitsev
|
42be9208f7
|
README updated
|
2010-12-28 12:06:52 +02:00 |
|
Serge A. Zaitsev
|
4e869f7e9e
|
Complex types (objects and arrays) now have also size - number of child elements
|
2010-12-28 11:16:41 +02:00 |
|
Serge A. Zaitsev
|
c4d9412483
|
Some comments added in json.c
|
2010-12-27 17:05:22 +02:00 |
|
Serge A. Zaitsev
|
c955364a95
|
All objects renamed using jsmn prefix to keep consistency and not be mixed with other json libraries. Demo is now called just demo.
|
2010-12-27 17:00:24 +02:00 |
|
Serge Zaitsev
|
4e29ee705f
|
Fix: check if no tokens lefs, return error in that case
|
2010-12-26 13:48:13 +02:00 |
|
Serge Zaitsev
|
9924734575
|
Typo in tests fixed. Argument variable quoted
|
2010-12-26 13:02:40 +02:00 |
|
Serge A. Zaitsev
|
3d94cd0a18
|
Removed useless argument from printf
|
2010-11-29 13:53:13 +02:00 |
|
Serge A. Zaitsev
|
2cf5193d64
|
README changed. Now it is a template for the official web page
|
2010-11-29 13:52:11 +02:00 |
|
Serge A. Zaitsev
|
978ea959f4
|
Added test for a large number of tokens
|
2010-11-24 11:15:21 +02:00 |
|
Serge Zaitsev
|
508bf43fa0
|
Test framework implemented
|
2010-11-24 00:54:21 +02:00 |
|
Serge Zaitsev
|
f88240ac2e
|
Simplified demo output format
|
2010-11-24 00:26:15 +02:00 |
|
Serge A. Zaitsev
|
23b8487783
|
Demo: option added to specify buffer size when reading
|
2010-11-22 14:52:46 +02:00 |
|