Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

JSON is a data interchange format, you dont want comments in data that is interchanged. HTTP headers dont have comments. Put your comments in your doc explaining your json data format... which sucks for json, cause json doesnt have a formal schema language, ok json-schema, but thats sucky.


It is easy to create a json-schema by conversion in current json. How about { scheme: {}, instance: {} } ?




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

Search: