Skip to main content

Generate scripts for JSON instantly for faster development and testing

Project description

JSONQL: JSON Query and Path Generator

JSONQL is a Python library that helps you quickly query JSON data and generate JSON paths for debugging and development. It provides functions to locate keys by a given value and recursively generate full paths for nested JSON structures.

Features

  • keys_by_value(data, target_value):
    Search your JSON data for a specific target value and return a list of key names where that value appears.

  • generate_path(data, payload_name="payload"):
    Recursively generate JSON paths for each key in your JSON data. Useful for understanding the structure of nested JSON objects.

  • recursive_path_finder(current_path, value, result):
    A helper function that traverses the JSON structure to build complete key paths.

Installation

Clone the repository and install the package locally:

https://github.com/ray837/JSONQL.git
cd JSONQL
pip install .

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

rayson-0.0.3.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

rayson-0.0.3-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file rayson-0.0.3.tar.gz.

File metadata

  • Download URL: rayson-0.0.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.2

File hashes

Hashes for rayson-0.0.3.tar.gz
Algorithm Hash digest
SHA256 cf8efaf5674823e3b440a1c2ab4f8f26258dc466e819dac96d8564a5fc5a702b
MD5 6158e8337ce715fa7fd9bc5944510551
BLAKE2b-256 6c3771eff676045849b77a1e6f3d34c562a7b928e6297f957c9794ca1d74c069

See more details on using hashes here.

File details

Details for the file rayson-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: rayson-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.2

File hashes

Hashes for rayson-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 be9e1d2abdd7fc2ee00cb349809e95bd07985d9aa240915e4e5401153e27033e
MD5 ce6e559edf27058294c4c4c8ad45d307
BLAKE2b-256 b3e87219b025108027e43681bcc7d94cd00e5481d58b517f5e401128bb406b15

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