#46
in
Rust
Whenever this kind of arguments come up, I am sad that RON (https://github.com/ron-rs/ron) is not better known. To me it feels like a cleaner and better JSON.
In any case, my little experience with it had made me hate YAML. Generally speaking, I have come to dislike any language with significant whitespace other than Haskell.
I actually really like RON[1]
Yet another alternative format to JSON or YAML is Rust Object Notation (RON or RSON), which is a lot like JSON but more expressive:
You might like RON[1]. It's far from perfect (and far from complete), but seems nice so far.
Looks interesting enough to put it on my "to evaluate/play-around" pile.
I'd be interested to know what the author thinks about RON[0], it's not quite the same but also has some nice properties and wants to be a replacement for JSON (yes this is more one for XML or JSON, but still).
Sometimes I wonder if all those formats would never have got invented if JSON had just allowed comments and trailing commas in the first place. While there's JSON5[1] now, it just has not the same level of native (ecosystem) support as JSON has.
[0]: https://github.com/ron-rs/ron
[1]: https://json5.org/
Have you seen RON (Rust Object Notation) https://github.com/ron-rs/ron ?