3 ms·
It would be nice if JSON accepted comments and Python/ES5 have proven the developer ergonomics of trailing commas, but I'm not convinced the rest of these are i
by bsimpson 12y ago
It would be nice if JSON accepted comments and Python/ES5 have proven the developer ergonomics of trailing commas, but I'm not convinced the rest of these are improvements.
- skorecky 12y agoYou can add comments but they won't be passed along and I don't think that's the case for this either. They're just there for documenting.
- bsimpson 12y agoMany implementations I've seen will raise a syntax error if you include a // in JSON. Then, you have to do clever shit like make a key that you don't use anywhere: "//": "my comment"