Matthew Olsson
e8e728454c
AK: JsonParser improvements
...
- Parsing invalid JSON no longer asserts
Instead of asserting when coming across malformed JSON,
JsonParser::parse now returns an Optional<JsonValue>.
- Disallow trailing commas in JSON objects and arrays
- No longer parse 'undefined', as that is a purely JS thing
- No longer allow non-whitespace after anything consumed by the initial
parse() call. Examples of things that were valid and no longer are:
- undefineddfz
- {"foo": 1}abcd
- [1,2,3]4
- JsonObject.for_each_member now iterates in original insertion order
2020-06-13 12:43:22 +02:00
..
2020-06-12 21:28:55 +02:00
2020-05-17 11:58:08 +02:00
2020-05-14 20:15:18 +02:00
2020-06-12 21:28:55 +02:00
2020-02-06 15:04:03 +01:00
2020-05-07 10:23:58 +02:00
2020-05-07 10:23:58 +02:00
2020-05-06 19:28:59 +02:00
2020-03-08 13:06:51 +01:00
2020-03-19 15:48:00 +01:00
2020-02-06 15:04:03 +01:00
2020-02-06 15:04:03 +01:00
2020-02-14 23:31:18 +01:00
2020-06-13 12:43:22 +02:00
2020-05-29 07:53:30 +02:00
2020-06-12 21:29:01 +02:00
2020-06-12 21:29:01 +02:00
2020-06-11 22:44:54 +02:00
2020-04-28 09:32:33 +02:00
2020-05-29 07:59:45 +02:00
2020-05-15 09:50:48 +02:00
2020-05-15 09:50:48 +02:00
2020-02-06 15:04:03 +01:00
2020-05-30 00:36:13 +02:00
2020-02-15 00:32:33 +01:00
2020-03-07 01:33:53 +01:00
2020-02-15 00:32:33 +01:00
2020-02-14 13:17:26 +01:00
2020-02-14 13:17:26 +01:00
2020-05-03 12:59:26 +02:00
2020-05-03 12:59:26 +02:00
2020-02-06 15:04:03 +01:00
2020-02-06 15:04:03 +01:00
2020-02-14 23:31:18 +01:00
2020-02-06 15:04:03 +01:00
2020-03-08 13:06:51 +01:00
2020-03-05 15:50:22 +01:00
2020-06-13 12:43:22 +02:00
2020-02-06 15:04:03 +01:00
2019-11-23 23:43:37 +01:00
2020-05-29 07:59:45 +02:00
2020-06-08 13:58:32 +02:00
2020-05-18 20:16:52 +02:00
2020-02-15 00:58:52 +01:00
2020-03-08 13:06:51 +01:00
2020-05-26 14:35:10 +02:00
2020-05-05 23:56:57 +02:00
2020-03-08 13:06:51 +01:00
2020-05-23 15:31:30 +02:00
2020-02-15 00:32:33 +01:00
2020-05-23 15:31:30 +02:00
2020-02-15 00:32:33 +01:00
2020-06-11 22:35:37 +02:00
2020-06-11 22:35:37 +02:00
2020-05-23 15:31:30 +02:00
2020-04-04 12:25:33 +02:00
2020-05-23 15:31:30 +02:00
2020-03-14 23:56:12 +01:00