Skip to main content

serp-json

Serpentine's JSON library ([P] pure Serpentine, docs/libraries.md Wave 1) — the promoted examples/json_parser.py north-star demo.

  • from serp_json import JVal, loads, dumps, describe, jnull, jbool, jint, jfloat, jstr
  • loads(doc) parses a JSON document into a JVal tree (kind-tagged dataclass); dumps(v) serializes it back. Object member order is preserved on both sides.
  • Escapes (\uXXXX incl. surrogate pairs), nested values, and error positions are supported; malformed input raises ValueError with a position message.
  • Integers beyond 64 bits overflow natively (documented int64 divergence).
  • Pure Serpentine source: the same file compiles natively and imports under CPython.

Install into a Serpentine project with serp add serp-json.

Metadata

Release files for serp-json 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for serp-json 0.3.0
File Size Uploaded Provenance Actions
serp_json-0.3.0.tar.gz 5.2 kB Without provenance Details for serp_json-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for serp-json 0.3.0
File Interpreter ABI Platform Actions
serp_json-0.3.0-py3-none-any.whl Python 3 none any Details for serp_json-0.3.0-py3-none-any.whl

Total release size: 9.7 kB

Release files / serp_json-0.3.0.tar.gz

Download URL serp_json-0.3.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
28a6ee7afd74a8d685fc92db8bb6cc459f135b645b07ef1fc3b8dc25df0b488d
BLAKE2b-256 checksum
How to use checksums
61e852b763c95938a47c1b13b6455255c7c94733ef4185425d0bec75c8ae5e7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / serp_json-0.3.0-py3-none-any.whl

Download URL serp_json-0.3.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fed8db5cc7284b40718ff3671cd8190dead1c73528585cec058d51b8171d564
BLAKE2b-256 checksum
How to use checksums
76bf9eed5a07633d5d981caecae7baba85d588c80ec6cb4575979d170d870918
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for serp-json 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page