3 ms·
How is abusing comments any different than abusing a top-level property with a key like “__comment”?
by pulsarmx 2y ago
How is abusing comments any different than abusing a top-level property with a key like “__comment”?
- amatecha 2y agoat least a top-level metadata property can be explicitly defined in a .json.schema[0] and formalized, rather than being some kind of ad-hoc pre-processor step you have to evaluate before actually using the JSON data. I didn't even know about that approach before I read your comment but it instantly makes more sense to me in terms of maintainability and interoperability. [0] https://json-schema.org/ https://json-schema.org/