Skip to main content

No project description provided

Project description

json-key-explorer

CLI tool to explore the keys in a JSON file.

Use Case

Useful for discovering the various key paths inside a large JSON file. Ignore the unwanted clutter inside the JSON and focus on the path that is important to you.

Installation

pip install jkx

Usage

jkx -f file.json

To print the JSON path in different formats, pass the following flags:

JavaScript -js

jkx -f file.json -js

Example Output:
---------------
Path = data.servers[1].variables.region.enum[4]

Python -py

jkx -f file.json -py

Example Output:
---------------
Path = data['servers'][1]['variables']['region']['enum'][4]

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

jkx-1.0.4.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file jkx-1.0.4.tar.gz.

File metadata

  • Download URL: jkx-1.0.4.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for jkx-1.0.4.tar.gz
Algorithm Hash digest
SHA256 4de4d6a0d4f963183181887f52596277bcb259b066183cadbbe001fc31dfff20
MD5 7d11166b91a165faba297b66b2cc2c4a
BLAKE2b-256 b6a4fcbe38098ed14dedab516bccd67393bc1d4fb183d7038989f19b21528716

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