1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
4c7bede5a4 Better error handling and messages for invalid index/assign operations. 2012-09-11 10:37:44 +01:00
65ce73deb4 String concatenation. 2012-09-10 16:16:39 +01:00
e718bd50b6 Sensible error messages when a silly addition is performed.
Fix a test to no longer perform an invalid addition.
2012-09-10 16:15:05 +01:00
a3e509034b jv_string_fmt (create printf-formatted JSON strings) 2012-09-10 16:01:56 +01:00
649cac791a Make jv_invalid() first-class values capable of holding an error. 2012-09-10 15:04:19 +01:00
e258d20ba2 Make the '+' operator merge objects. 2012-09-09 19:17:07 +01:00
a4ff3d4670 Bugfix for expanding objects. 2012-09-09 18:09:05 +01:00
eea05ff924 Perl-style autovivification.
.foo.bar = 1 will cause objects to be created if they don't exist.
2012-09-03 16:50:38 +01:00
a8c3648ca5 JV_KIND_INVALID values to represent failed lookups, etc + various tests. 2012-09-03 16:16:14 +01:00
8fe9c8a22a Make assignment work again: = and |= operators. 2012-09-03 15:33:59 +01:00
6041fd7661 Literal strings and better literal numbers. 2012-09-03 13:57:47 +01:00
4f747e6fff Move from Jansson to JV - proper freeing of memory
A few more tests, now passes valgrind.
2012-09-02 21:45:52 +01:00
2cb9a6e61d Move from Jansson to JV - everything but the interpreter loop
Passes valgrind --leak-check=full.
2012-09-02 16:31:59 +01:00
22f8aed31e Validation for empty objects
Now (correctly) fails to parse {,}
2012-09-02 00:24:23 +01:00
e98624e5a9 First pass at a JSON parser 2012-09-01 19:16:43 +01:00
463b175cdb Reference-counted copy-on-write JSON library.
Comes with tests and, presumably, bugs.
2012-08-28 18:09:43 +01:00
6c8b55793a first pass at assignment 2012-08-27 10:12:02 +01:00