3 ms·
As a comparison, here's the "Why RON" for the native RON/Rust format: Note the following advantages of RON over JSON: * trailing commas allowed * single-
by Rantenki 2y ago
As a comparison, here's the "Why RON" for the native RON/Rust format:
Note the following advantages of RON over JSON:
* trailing commas allowed
* single- and multi-line comments
* field names aren't quoted, so it's less verbose
* optional struct names improve readability
* enums are supported (and less verbose than their JSON representation)
I feel like they are close enough that it would be better to just use RON, which has existing uptake/tooling.
- pjmlp 2y agoSo basically JSON5, while not being a standard.