Skip to content

hvnsweeting/pjv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pjv - Python JSON Validator

https://circleci.com/gh/hvnsweeting/pjv.svg?style=svg

PJV helps validating and find erroneous line in JSON file (as far as it can) .

Installation

By using pip:

pip install pjv

Example

Given sample.json file content:

{"scores":
    {"hvn": "9"},
    {"nvh": "6"},
}

Use pjv to validate it:

$ pjv sample.json
Error: Expecting property name: line 3 column 5 (char 33)
2     {"hvn": "9"},
3     {"nvh": "6"}, <----- this or maybe the line above is informal, such as redundant or missing `,`. See http://json.org for JSON format.
4 }

Authors

Viet Hung Nguyen <hvn@familug.org>

Contribution

All contribution are greatly welcome 👍

About

CLI JSON validator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages