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.1.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.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rayson-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e8b8e10b788d850e71c0f05866cb77099a688c6a8710d0ce7f71b7398fb98672
MD5 9ba9404753801196cc0418f852a7e745
BLAKE2b-256 0b8ba979f56f455670b90a7d3f3d4cc6687298eac09a74e00ad82f30d0b1729f

See more details on using hashes here.

File details

Details for the file Rayson-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: Rayson-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 63f1f95d07ec6e3ecdb6afcbf3e520cf359dae0c77fe0092971641ce3611c004
MD5 c66e4c5db0a0547a70595c3393f547b7
BLAKE2b-256 82a62a09faaba55f7a59f9b024ac7990efa5c3d56bd2ea67c089094dfca20b9f

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