+7
Allow trailing comma in settings lists
It would be nice if this were a legal config:
{
"foo": "bar",
}
It's easier to cut and paste individual settings this way.
-2
pazsxn 13 ár síðan
Yes! This gets me every time I copy&paste setting from the default settings file to my user file.
-2
Joel Thornton 13 ár síðan
I concur. Even though it's not technically valid JSON syntax, I have seen a number of apps and frameworks that gracefully ignore trailing/extra commas in their JSON-ish config files. Some JSON libraries out there even support "lenient" parsing of this sort out of the box, though I imagine a simple regex substitution would do the trick.
Customer support service by UserEcho