Skip to main content

A lightweight CLI to validate/format/minify JSON and convert YAML to JSON. Website: https://jsonviewertool.com

Project description

jsonviewertool-cli

A lightweight Python CLI for validating, formatting (pretty print), minifying, and converting YAML → JSON.

👉 For advanced online tools like YAML to JSON, JSON Viewer, and JSON Formatter, visit:


Install

pip install jsonviewertool-cli

Usage

Pretty format JSON

jsonviewertool format input.json
# or from stdin
cat input.json | jsonviewertool format

Validate JSON

jsonviewertool validate input.json

Minify JSON

jsonviewertool minify input.json

YAML → JSON

jsonviewertool yaml2json input.yaml

Why this exists

This CLI is intentionally small and fast for local workflows (CI pipelines, quick checks, scripts). If you need a full-featured browser toolset (viewer, formatter, validator, converters), use:

🔗 https://jsonviewertool.com


License

MIT

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

jsonviewertool_cli-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jsonviewertool_cli-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file jsonviewertool_cli-0.1.0.tar.gz.

File metadata

  • Download URL: jsonviewertool_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for jsonviewertool_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3386480e859d1d1c4ff0d39aecb92c9cc1ec4e69e8d324c2ede2cf4bfbae125c
MD5 92052e9718b42779a9250ed25f4af7fb
BLAKE2b-256 e4b029bb02e7c02678bfea31d726d915aebb7455ae8814dd024e32dfe8f959a8

See more details on using hashes here.

File details

Details for the file jsonviewertool_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jsonviewertool_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 417c1ba486d943153cce196e225d18fde7f14488ceb8d8cfdbfcbbc976352df9
MD5 10a56ea56d075ab4c99e417ae394cde3
BLAKE2b-256 14660578594684088e9bd89ad11968a893c5ac6139f667ad269a279278c4e027

See more details on using hashes here.

Supported by

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