python-scripts/scripts/Check_json_format
2022-10-03 23:27:52 +05:30
..
README.md Check JSON format python scripts 2022-10-03 23:27:52 +05:30
script.py Check JSON format python scripts 2022-10-03 23:27:52 +05:30

1 checkjson

This script will read a file and either pass the file as being a valid JSON file, or die a horrible death. But for all practical reasons, it tells me if the error is in the file or the program that I am trying to load the file into.

to RUN it

$ checkjson test.json

Thats all you need to validate JSON, but it can easily be modified to validate YAML, as well.