Skip to main content

Quick Json Parser Hack

Project description

QJPH -- Quick Json Parser Hack

Quick Json Parser Hack is, as the name indicates a quick hack to have Python parse JSON as Python.

CAVEAT: This lib relies on eval() with a few specific globals to parse JSON. As such, it might not be safe against code injection attacks.

⚡ Usage

import qjph

from_file = qjph.load("file.json")

from_string = qjph.loads("""
{
    "json": {
        "data": "value"
    }
}
""")

🔧 Building

uv build

🤝 Collaborate with My Project

Please refer to the collaboration guidelines for details.

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

qjph-0.0.4.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

qjph-0.0.4-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file qjph-0.0.4.tar.gz.

File metadata

  • Download URL: qjph-0.0.4.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for qjph-0.0.4.tar.gz
Algorithm Hash digest
SHA256 44aca86433526be460fa14285b0cdd8cfd201824c1a216d01963d053d0d023c8
MD5 a2a7f5cb386616f4ad341e3e2b033497
BLAKE2b-256 d2c6642a72d6631b399b67604a14508cc3f6d8d64bd826566ab89883a867aa0f

See more details on using hashes here.

File details

Details for the file qjph-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: qjph-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for qjph-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 83a328eb138fb2012e0eb4373424f32f72a6ff86e517b4bd12f5e85b166c54ee
MD5 1c1d5b512754e0e2d617aa161d745ca9
BLAKE2b-256 e141af362047c3a7f1ffa9e4679cdb76335193cc2e0c613dcd637e73393c8514

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