Hacker News new | past | comments | ask | show | jobs | submit login

I just want json with comments. Is that too much to ask?



Someone else already mentioned JSON5 (https://json5.org/), which is JSON with a few ergonomic improvements, including comments. Hjson (https://hjson.org/) is a similar, slightly more complex format with a few extra features such as unquoted strings for object values.


I just want mainstream/built-in JSON parsers to be able to ignore comments and trailing commas. What ever happened to lax parsing?





Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: