3 ms·
On the topic of JSON and minefields, what is your experience using JSON5? I'm considered moving to it for configuration files in an application I'm building.
by eatonphil 5y ago
On the topic of JSON and minefields, what is your experience using JSON5? I'm considered moving to it for configuration files in an application I'm building.
- lifthrasiir 5y agoJSON5 mostly extends JSON's syntax, not its data model (it still doesn't outlaw duplicate object keys for example).
- eatonphil 5y agoThis article is about parsing though so I am mostly asking about that.
- lifthrasiir 5y ago"Parsing" can mean wildly different things indeed. In this case though the article does check duplicate keys and numeric range & precision, so the data model is definitely in question.
- AnthonBerg 5y agoI find it much more pleasant to work with.