I found this plugin pretty useful for moving some json into a regular .js file and only formatting the valid json parts of my file.
It would be nice if it was able to strip out quotes from keys by default, or as an option, so I can have more uniform styles.
Example input json:
{"key1":"val1",key2:"val2"}
Current output:
{
"key1": "val1",
key2: "val2"
}
Desired output:
{
key1: "val1",
key2: "val2"
}
I found this plugin pretty useful for moving some json into a regular .js file and only formatting the valid json parts of my file.
It would be nice if it was able to strip out quotes from keys by default, or as an option, so I can have more uniform styles.
Example input json:
{"key1":"val1",key2:"val2"}Current output:
{ "key1": "val1", key2: "val2" }Desired output:
{ key1: "val1", key2: "val2" }