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-13 12:43:22 +02:00
2020-05-30 11:31:49 +02:00
2020-06-12 16:08:45 +02:00
2020-04-26 22:57:00 +02:00
2020-05-29 07:59:45 +02:00
2020-01-19 13:29:59 +01:00
2020-05-06 22:28:23 +02:00
2020-04-20 17:25:50 +02:00
2020-05-02 12:24:10 +02:00
2020-05-31 21:38:50 +02:00
2020-03-02 09:50:43 +01:00
2020-02-26 15:22:45 +01:00
2020-05-29 20:21:10 +02:00
2020-05-20 16:24:26 +02:00
2020-02-18 11:35:47 +01:00
2020-06-12 21:28:55 +02:00
2020-06-12 21:28:55 +02:00
2020-05-17 22:35:25 +02:00
2020-03-08 13:06:51 +01:00
2020-02-24 09:42:52 +01:00
2020-02-27 10:21:13 +01:00
2020-02-14 23:31:18 +01:00
2020-06-12 21:28:55 +02:00
2020-03-06 08:51:22 +01:00
2020-01-24 15:15:16 +01:00
2020-06-13 12:43:22 +02:00
2020-05-22 13:57:23 +02:00
2020-06-13 12:43:22 +02:00
2020-06-13 12:43:22 +02:00
2020-06-13 12:43:22 +02:00
2020-06-13 12:43:22 +02:00
2020-05-20 16:24:26 +02:00
2020-05-23 15:27:33 +02:00
2020-05-26 14:35:10 +02:00
2020-05-26 14:35:10 +02:00
2020-05-16 12:00:04 +02:00
2020-05-16 12:00:04 +02:00
2020-04-05 09:50:48 +02:00
2020-05-16 12:00:04 +02:00
2020-02-19 16:08:28 +01:00
2020-02-16 09:32:18 +01:00
2020-06-12 16:08:45 +02:00
2020-05-20 14:11:13 +02:00
2020-05-03 12:59:26 +02:00
2020-05-23 15:25:43 +02:00
2020-05-16 10:55:54 +02:00
2020-06-12 16:08:45 +02:00
2020-05-16 10:55:54 +02:00
2020-06-06 14:42:31 +02:00
2020-02-25 14:55:04 +01:00
2020-04-18 13:58:49 +02:00
2020-05-30 00:36:13 +02:00
2020-06-12 16:08:45 +02:00
2020-05-20 14:11:13 +02:00
2020-04-21 16:19:18 +02:00
2020-02-28 12:55:58 +01:00
2020-02-28 12:55:58 +01:00
2020-04-27 11:24:21 +02:00
2020-05-23 15:25:43 +02:00
2020-06-12 21:28:55 +02:00
2020-06-12 21:28:55 +02:00
2020-06-04 21:12:17 +02:00
2020-06-04 21:12:17 +02:00
2020-03-22 13:03:43 +01:00
2020-04-13 12:27:05 +02:00
2020-06-12 21:28:55 +02:00
2020-06-12 21:28:55 +02:00
2020-06-12 21:28:55 +02:00
2020-06-12 21:28:55 +02:00
2020-05-30 11:31:49 +02:00
2020-04-26 21:31:52 +02:00
2020-02-16 02:01:18 +01:00
2020-06-12 16:08:45 +02:00
2020-06-12 21:28:55 +02:00
2020-06-01 21:50:07 +02:00
2020-06-12 21:28:55 +02:00
2020-06-07 21:05:05 +02:00
2020-05-18 11:31:43 +02:00
2020-06-04 21:12:17 +02:00
2020-05-18 16:48:54 +02:00
2020-05-20 16:24:26 +02:00
2020-06-12 16:08:45 +02:00
2020-01-25 10:34:32 +01:00