JsonLint challenge.
- Create a program/script that given a directory containing JSON files will recursively descend into the directory and lint every file in all subdirectories
- The program should print the name of the file that failed linting and also print the lines that failed the test.
- The program should accept a single argument named "jsoninput". the argument should accept a single string of the form '{"path":"/home/harish/jsons"}'
- The program should extract the supplied path from the above string and use that as the input.
Python3 must be installed and on the PATH. Install Python3
Node.js must be installed and on the PATH. Install Node.js
JSON Lint must be installed. Install jsonlint with npm to use the command line interface:
npm install jsonlint -g
python linter --jsoninput '{\"path\":\"../test\"}'