As we go through several of my DevOps series we will be writing and using JSON files. This is my preferred free tool to use to deploy JSON files with confidence.
Just copy and paste your JSON file and click Validate JSON and it will fix spacing errors or call out bad formatting. If you get a valid JSON outcome then you know you are good.