mirror of
https://review.haiku-os.org/haiku
synced 2025-01-20 05:21:28 +01:00
aae431375e
As found on http://seriot.ch/parsing_json.php -- anything using the API presently with valid JSON should have no troubles, but more valid JSON that previously didn't work now does (e.g. JSON with root array nodes, not root map nodes), and invalid JSON that silently succeeded before now fails. Not all the bad cases from that testsuite now fail, and not all of the good ones pass, but the few that remain are odd things that wouldn't map well to the BMessage API (e.g. root string nodes, etc.) or are other behaviors that make sense to leave as they are for compatibility reasons.