Skip to main content

Extended binary JSON format - single version of truth for all format conversions

Project description

xwjson

Extended binary JSON. MessagePack-based intermediate format that is ~10x faster than text JSON, preserves schema/format metadata, supports lazy loading and references ($ref, @href, *anchor), and powers conversions and transactions across the stack.

Full feature tour, examples, and troubleshooting: README_LONG.md.

Company: eXonware.com · Author: eXonware Backend Team · Email: connect@exonware.com
Version: See version.py or PyPI. · Updated: See version.py (__date__)

Status Python License


Install

pip install exonware-xwjson
# Full (optional)
pip install exonware-xwjson[full]

Quick start

from exonware.xwjson import XWJSONSerializer

serializer = XWJSONSerializer()
# Async (recommended)
data = await serializer.load_file_async("data.xwjson")
await serializer.save_file_async(data, "output.xwjson")
# Sync
data = serializer.load_file("data.xwjson")
serializer.save_file(data, "output.xwjson")

See docs/ for REF_*, guides, and examples.


What you get

Area What's in it
Binary MessagePack-based encoding; faster than text JSON.
Lazy Defer parsing until access.
References $ref, @href, *anchor preserved and resolved.
Integration xwnode, xwschema; format metadata preserved.
Transactions ACID; batch operations with dependency-aware parallel execution.

Docs and tests

  • Start: docs/INDEX.md or docs/.
  • Guides: Basic/Advanced usage, Performance, Format conversion, Schema validation when present under docs/.
  • Tests: Run from project root per project layout.

License and links

MIT — see LICENSE. Homepage: https://exonware.com · Repository: https://github.com/exonware/xwjson

Contributing → CONTRIBUTING.md · Security → SECURITY.md (when present).

Built with ❤️ by eXonware.com - Revolutionizing Python Development Since 2025

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

exonware_xwjson-0.9.0.6.tar.gz (112.4 kB view details)

Uploaded Source

Built Distribution

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

exonware_xwjson-0.9.0.6-py3-none-any.whl (63.6 kB view details)

Uploaded Python 3

File details

Details for the file exonware_xwjson-0.9.0.6.tar.gz.

File metadata

  • Download URL: exonware_xwjson-0.9.0.6.tar.gz
  • Upload date:
  • Size: 112.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for exonware_xwjson-0.9.0.6.tar.gz
Algorithm Hash digest
SHA256 8a273faa2d09293409663e93c148e66bb5d19fb4b602de4460aa4edf704b4291
MD5 26c2e1160a8970f052fe15f87840c1c9
BLAKE2b-256 c25b73ce6b3fc6f0f510bc85fff47058a04355230b652ef6333a01628ac82e2d

See more details on using hashes here.

File details

Details for the file exonware_xwjson-0.9.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for exonware_xwjson-0.9.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5ab80548d6e47f2601801a848d28eb7396a6641f72ff28d4689426677b75890d
MD5 900d96f765b20c02de0a0ac1e3bdfc2e
BLAKE2b-256 91330329c75cb0b5bfbb22f78619a1b67e626e4149e8efc07534e83114c57c9f

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