3 ms·
Configuration languages are just structured data, and programming languages also need to be able to express complex literal data. JSON is already explicitly de
by Kinrany 2y ago
Configuration languages are just structured data, and programming languages also need to be able to express complex literal data.
JSON is already explicitly designed as a ~subset of JavaScript. An equivalent of a JSON written as a JavaScript literal is easier to read than JSON. The only problem is that we often don't want to use an interpreter to parse data.