←back to thread

Fixing JSON

(www.tbray.org)
139 points robin_reala | 1 comments | | HN request time: 0s | source
Show context
dlbucci ◴[] No.12327731[source]
At this point, I'd settle for JSON5 (http://json5.org/), which says any JSON that's a valid ECMAScript 5 object is valid JSON (including trailing commas, unquoted keys, single quote strings, and comments). I don't think it's very popular at this point though, but I guess I've never tried to use it.
replies(2): >>12327828 #>>12327981 #
1. veesahni ◴[] No.12327828[source]
This is a good idea. Also browser makers won't feel like they're supporting another format. It's just a modernized version of JSON.