News for hackers. Stuff that matters.
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.
Re:JSON5 – JSON for Humans by arp242 on Monday December 09, 2024 @09:59AM (#42366779)
Obviously it's useful in many cases; designing anything like this is an exercise in trade-offs.
Re:JSON5 – JSON for Humans by conscion on Saturday December 14, 2024 @07:43PM (#42420579)
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.