22 Commits

Author SHA1 Message Date
Sergio R. Caprile
b5443f10c5 add mg_str_to_num 2024-05-15 16:46:31 -03:00
Sergey Lyubka
e0e599ffa1 Fix #2612 - struct mg_str::ptr -> buf 2024-04-16 22:42:45 +01:00
Sergey Lyubka
f231760395 Add helper function mg_json_get_tok 2024-02-01 12:05:49 +00:00
cpq
293ee2162c Add mg_json_next() for iterating objects/arrays 2023-10-07 22:40:51 +01:00
cpq
527e89754e Change base64 API 2023-08-22 12:11:13 +01:00
cpq
58886a9693 Fix #2345 - json parsing of arrays of objects 2023-08-16 22:09:45 +01:00
cpq
6085998d57 Proper handling {} in JSON array + unit test 2023-06-06 08:38:08 +01:00
cpq
fe0d2272f6 Export mg_json_unescape() 2023-06-03 09:28:59 +01:00
cpq
a57c0f4700 Fix #1712 - JSON parsing for keys with arrays 2022-09-08 10:59:23 +01:00
cpq
0d385c29a3 More JSON tests 2022-09-02 16:23:39 +01:00
cpq
cf1566e116 Add more comments in json code 2022-08-31 17:59:04 +01:00
cpq
0a265e79a6 Remove debug log and add a comment 2022-08-29 13:10:11 +01:00
cpq
7f30c01c58 Correct condition check sequence for the prev fix 2022-08-29 13:01:56 +01:00
cpq
0661f5921a Fix #1690 - mg_json_get for keys with the same prefix 2022-08-29 12:40:50 +01:00
cpq
6b69bef2ef mg_dtoa, mg_atod, mg_lld made static 2022-08-14 01:25:38 +01:00
Sergey Lyubka
54d6bad5e5 Refactor JSON and RPC API 2022-07-30 07:55:26 +01:00
Sergey Lyubka
f2009ebd62 Move mg_*printf* decls in fmt.h 2022-07-28 10:18:17 +01:00
Sergey Lyubka
0dabc45780 Add RPC API 2022-07-27 00:46:05 +01:00
Sergio R. Caprile
1eed80375d Fix MG_EOO 2022-07-22 11:50:23 -03:00
Sergey Lyubka
c5751b0bd3 Add mg_json_get_long 2022-06-30 20:03:29 +01:00
Sergey Lyubka
898e2b1e30 Add mg_json_get_hex(), mg_json_get_b64() 2022-06-22 16:28:22 +01:00
Sergey Lyubka
106662b1d7 Add JSON API 2022-06-09 17:17:33 +01:00