Validating Large JSON Files

Cloud Native: The Gathering
cloud native: the gathering
1 min readOct 19, 2018

I needed to validate a large json file. The jsonlint module works great — no need to paste large amounts of text into an online parser, or worse, manually scan the json for errors:

$ npm install jsonlint -g$ jsonlint largefile.jsonError: Parse error on line 48911:… ] } ] No image scanned.— — — — — — — — — — ^Expecting ‘EOF’, ‘}’, ‘,’, ‘]’, got ‘undefined’

--

--