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-01 18:50:28 +02:00
2020-05-27 11:44:19 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-05-21 19:55:44 +02:00
2020-06-10 10:59:04 +02:00
2020-06-03 21:52:40 +02:00
2020-06-03 21:52:40 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-05-22 18:23:02 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-05-19 17:46:28 +02:00
2020-06-10 10:59:04 +02:00
2020-05-26 14:35:10 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-05-26 14:35:10 +02:00
2020-05-29 07:59:45 +02:00
2020-06-10 10:59:04 +02:00
2020-05-21 19:55:44 +02:00
2020-05-29 07:59:45 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-13 12:43:22 +02:00
2020-05-21 19:55:44 +02:00
2020-06-07 19:29:40 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-05-20 13:54:10 +02:00
2020-05-20 13:54:10 +02:00
2020-05-21 20:19:43 +02:00
2020-05-26 14:35:10 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-05-29 07:59:45 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-05-21 20:19:43 +02:00
2020-05-21 20:19:43 +02:00
2020-06-12 21:28:55 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-05-21 13:40:52 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-05-27 20:04:52 +02:00
2020-05-27 20:04:52 +02:00
2020-05-25 11:33:39 +02:00
2020-05-25 11:33:39 +02:00
2020-06-12 21:28:55 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-12 21:28:55 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-06-11 22:46:49 +02:00
2020-06-11 22:46:49 +02:00