Re:JSON5 – JSON for Humans
by gregoriol on Monday December 09, 2024 @09:08AM
(#42366372)
Even if we stick to the data exchange format, it would be practical to have comments in examples of data. This would be good for training and learning, for documentation.
[ Parent
| on HN ]
Obviously it's useful in many cases; designing anything like this is an exercise in trade-offs.
This is still possible. There's nothing stopping you from putting comments in the JSON in your file or a webpage. It's just not going to be accepted as valid by JSON parser, which for learning material should be fine.