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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rayson-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c05552aa9b73b0ef6f219c641e4f55bc49f01dff1933c090927da4571e7ab0dc
MD5 57e45789ecdd814ccba8e49cc1e3b803
BLAKE2b-256 c25a0e221891fbea8c717cb810adc65767baf2cd17a37eafda4abbc6036d0156

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Rayson-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 16e198ffde678a1a816c4022d802f43c4338adc68cf0c02f7fce7e86d0f72590
MD5 f6b89177993571467d7904285b654762
BLAKE2b-256 504647e8cf44d98c47ed7515bcccb7428c7cc9bf03fd036ac1cd994937fdda88

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