3 ms·
This post is wrong on soooo many levels, mentioning all of them would explode this comment, but just to proof one of them: JSON does NOT "requires curly braces
by fusl 8y ago
This post is wrong on soooo many levels, mentioning all of them would explode this comment, but just to proof one of them: JSON does NOT "requires curly braces around the entire documen". In fact, you can enclose a document with [ and ] as well, which is why you need curly brackets to write configuration files. This has nothing to do with a JSON "require"ment.
- cdmckay 8y agoWrapping the document in [] wouldn’t be very useful for config. So, what’s your point exactly? Is that really the worst thing you can find in this post?
- harg 8y agoJust a primitive like a string, number, boolean etc is also valid json.
- thayne 8y agoWhat does that have to do with using JSON as a configuration format? Having a single primitive (or for that matter an array) is not very useful as a configuration file.