Validating json files with python command line Nov 27, 2014 Tags: old-blog technology english If you ever want to validate a json file and you have not a json parser installed, you can always use python for the purpose: python -m json.tool < data.json You can also use this approach to pretty print a mangled json file.