Commit Graph

30 Commits

Author SHA1 Message Date
bb57c88d6e fixed a bug in the json writer functions 2021-07-21 07:36:10 +00:00
08721ab0c6 defined MIO_EOL 2021-07-17 03:33:33 +00:00
de9c05a9b1 added mio_json_resetfeedloc() 2021-07-16 10:09:29 +00:00
a4d31da64f enhanced the json reader to include location in some error messages 2021-07-16 10:01:42 +00:00
a7ae566736 added MIO_JSON_LINE_COMMENT 2021-07-14 14:31:19 +00:00
c42427d6ed enhanced json error handling 2021-07-14 13:46:15 +00:00
af9aad6aae fixed some more bugs in the json parser 2021-07-14 11:31:29 +00:00
140e1126ed made the rem parameter optional in mio_json_feed() 2021-07-14 05:42:42 +00:00
33afbfc419 added MIO_JSON_OPTIONAL_COMMA 2021-07-14 05:29:17 +00:00
3e0654e131 added the new option MIO_JSON_PERMIT_WORD_KEY 2021-07-14 05:22:03 +00:00
72422be8b8 added the new option MIO_JSON_PERMITWORDKEY 2021-07-14 05:18:19 +00:00
d6b196fbf1 fixed a json reader to accept a non-array/object at the start level 2021-07-14 03:22:51 +00:00
a7cbda7208 enhanced the json writer function 2021-07-12 17:13:03 +00:00
4cbcc38308 fixed a flaw in the json writer function 2021-07-12 17:04:44 +00:00
044120a4d9 improved decimal handling in lib/json.c 2020-06-17 13:36:49 +00:00
eea395e130 added mio_jsonwr_writeuintmax() and mio_jsonwr_writeintmax() 2020-06-09 15:39:48 +00:00
a910dd533c enhanced the json reader to handle unicode surrogate pairs 2020-06-08 11:08:22 +00:00
9e0161c58f added '\a' and '\v' to json escaping 2020-06-08 09:25:09 +00:00
52ddb45e75 renamed dictionary to object in json code 2020-06-07 14:44:54 +00:00
378f148f73 added the container_state parameter to the mio_json_instcb_t callback 2020-06-06 19:45:11 +00:00
2174c1bd9b enhanced mio_json_instcb_t to accept a position with a parent container 2020-06-06 18:53:09 +00:00
fef7c29e70 removed duplicate code 2020-06-03 07:57:15 +00:00
c2c3d00ff2 added the rctx field to mio_json_t
changed mio_json_instcb_t to get passed the content pointer
2020-06-02 09:49:08 +00:00
e194ed01ff added mio_jsonwr_writerawuchars() 2020-06-01 09:09:40 +00:00
a281cfaceb added mio_jsonwr_writerawbytes() 2020-06-01 09:05:47 +00:00
775a9b4735 added the ctx parameter to the json write callback 2020-06-01 08:52:43 +00:00
25e3744571 added more json writing macros for convenience 2020-06-01 07:32:28 +00:00
0ec6a6cb58 implemented a primitive json writer - needs much more improvement 2020-05-31 17:36:11 +00:00
7c726ee1da enhanced json code 2020-05-30 06:57:37 +00:00
b895566323 adding a simple json reader 2020-05-29 11:35:20 +00:00