Re:YAML: probably not so great after all (2017)
by joobus on Wednesday June 20, 2018 @05:23PM
(#17359919)
From the command line:
python -m json.tool < somefile.json
This will tell you where your file is messed up.There is also https://github.com/zaach/jsonlint
This has caused me so much misery in the past, especially since none of the tools will tell you which line the offending comma is on. Great, somewhere in my thousand-plus-line JSON file is a tiny syntax error but you won't tell me where.
Ended up having to regex for them. Didn't do wonders for my trust in JS tooling.