logoalt Hacker News

hutattedonmyarmyesterday at 5:35 PM2 repliesview on HN

There _is_ a json variant with comments, so that’s what you’ve seen. Not all parsers support that though


Replies

jeroenhdyesterday at 5:45 PM

It's non-standard JSON, so you can probably just assume most patsers don't support any given commented parser.

At least XML permitted comments, fhe shift to JSON on everything almost makes me nostalgic.

show 1 reply
xgulfieyesterday at 5:49 PM

Are you denying what I've seen with my own eyes? I am saying it was an object like this:

{ "//":"make sure these are divisible by 8", "width": 640, "height": 480 }

show 2 replies