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 details)

Uploaded Source

File details

Details for the file pjv-0.8.2.tar.gz.

File metadata

  • Download URL: pjv-0.8.2.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pjv-0.8.2.tar.gz
Algorithm Hash digest
SHA256 029de8999e7280e6d07fceded29d86c4a1ab2abb42caf69acad7bb8cd106ddcc
MD5 5d2d6d075521a83b49d9e959a0f2f396
BLAKE2b-256 fa34e94649af8ba6fa8a97e64c8e5f4ef1da8c5d17589050d7e62fcd7070e247

See more details on using hashes here.

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