Skip to main content

json-parser

A cli tool for lexical and syntactical analysis. It parses json files.

PyPI package


Features

  • Lexical analysis --> tokenize json input character by character.
  • Parser --> Builds python objects fro tokens.
  • CLI Interface --> Validating json files from cli.
  • Error messages with line numbers
  • include support for comments also. ('//' and '/* any content */')
  • Uploaded on pypi PyPI package
  • No runtime dependencies required.

Installation

pip install json-parser-cli

How to use

use json-parser command to validate json files.

json-parser <file_name.json>

Learnings

How compiler works

  1. Lexer.py --> Convert text into tokens.
  2. Parser --> Convert tokens to data using recursive descent parsing.

Json features supported

  • Objects, Arrays.
  • Strings, Numbers, Booleans.
  • Null, nested structures, etc.
  • comments,

Metadata

Release files for json-parser-cli 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for json-parser-cli 0.1.2
File Size Uploaded Provenance Actions
json_parser_cli-0.1.2.tar.gz 25.3 kB Without provenance Details for json_parser_cli-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for json-parser-cli 0.1.2
File Interpreter ABI Platform Actions
json_parser_cli-0.1.2-py3-none-any.whl Python 3 none any Details for json_parser_cli-0.1.2-py3-none-any.whl

Total release size: 32.8 kB

Release files / json_parser_cli-0.1.2.tar.gz

Download URL json_parser_cli-0.1.2.tar.gz
Size 25.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b1a079f0f565f3b8598f227ac811994fbf64ba5b74929dd102f143f99fc5aa6f
BLAKE2b-256 checksum
How to use checksums
dfb1e27eaccdd541f4fb35fb40ae6ede9e96206d89e6bc9300f035b4b781cec5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release files / json_parser_cli-0.1.2-py3-none-any.whl

Download URL json_parser_cli-0.1.2-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f53c547c749563f4e634ebc34aafdf077d94df14924ce482908aa7f490368ef
BLAKE2b-256 checksum
How to use checksums
5e6917cfda00ef219684a8e293c12572e97985a7e32944d0bad422244dc08f7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Security for json-parser-cli 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page