Stephen Dolan
|
51a44edc63
|
JSON stream parser.
Allow multiple values on input as concatenated JSON objects,
possibly separated by whitespace.
|
2012-09-11 14:52:10 +01:00 |
|
Stephen Dolan
|
95dd64b0f0
|
Much, much better error reporting from the parser.
Getting proper locations through flex/bison was more effort than
was advertised.
|
2012-09-11 00:04:47 +01:00 |
|
Stephen Dolan
|
649cac791a
|
Make jv_invalid() first-class values capable of holding an error.
|
2012-09-10 15:04:19 +01:00 |
|
Stephen Dolan
|
c5ab3b2336
|
Move some unicode handling stuff to a separate file.
|
2012-09-04 20:38:47 +01:00 |
|
Stephen Dolan
|
520c7bb15e
|
Fix some confusion between "null" and "invalid".
|
2012-09-03 17:26:52 +01:00 |
|
Stephen Dolan
|
c9dbe1aff8
|
squash a debug printf
|
2012-09-03 16:42:58 +01:00 |
|
Stephen Dolan
|
6041fd7661
|
Literal strings and better literal numbers.
|
2012-09-03 13:57:47 +01:00 |
|
Stephen Dolan
|
52487ff812
|
Remove globals from parser, use explicit structure.
|
2012-09-03 01:12:42 +01:00 |
|
Stephen Dolan
|
2cb9a6e61d
|
Move from Jansson to JV - everything but the interpreter loop
Passes valgrind --leak-check=full.
|
2012-09-02 16:31:59 +01:00 |
|
Stephen Dolan
|
22f8aed31e
|
Validation for empty objects
Now (correctly) fails to parse {,}
|
2012-09-02 00:24:23 +01:00 |
|
Stephen Dolan
|
e98624e5a9
|
First pass at a JSON parser
|
2012-09-01 19:16:43 +01:00 |
|