3 ms·
I can see why you want non-string scalar keys. In general, I do too. (I'm writing a data language that has them.) However, I don't think it is useful to prod J
by xpe 6y ago
I can see why you want non-string scalar keys. In general, I do too. (I'm writing a data language that has them.)
However, I don't think it is useful to prod JSON (or a variant) to go in this direction.
- pseudalopex 6y agoWhy not?
- xpe 6y agoJSON is extremely closely linked with JavaScript. Trying to move it in a different direction, in my opinion, would require a lot of effort, without much benefit, and is unlikely to succeed.
- pseudalopex 6y agoJSON is used lots of places JavaScript isn't. It hasn't been closely linked with JavaScript since people realized eval is dangerous. People are more interested in JSON derivatives like JSON5 or Ion than more complex languages like Dhall in my experience.
- xpe 6y agoAll fair points. Dhall is new to me. Would you tell me more about other configuration languages you seen? I often use TOML myself.