Skip to main content
Help us improve Python packaging – donate today!

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:

Release history Release notifications

This version
History Node

0.8.2

History Node

0.8.1

History Node

0.8.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pjv-0.8.2.tar.gz (1.9 kB) Copy SHA256 hash SHA256 Source None Jul 10, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page