4 ms·
Why even go to the trouble of converting it to json then?
by Ballas 6y ago
Why even go to the trouble of converting it to json then?
- zapita 6y agoFor interop with the massive json ecosystem.
- qbasic_forever 6y agoIt simplifies your code that depends on configuration. Instead of having to parse the config language you just read the JSON. Pretty much every programming langauge has a JSON parser built in to its standard library, while support for higher level config langauges is a lot less ubiquitous. It also makes it easier for other tools to generate, validate, or output config that feeds into your system. They can do whatever processing they want and emit plain old JSON.