Skip to main content

JSON Python Validator

Project description

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 :+1:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pjv-0.8.2.tar.gz (1.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page