Skip to main content

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

Project description

xwjson

Binary JSON for real workloads. MessagePack-based .xwjson is ~10x faster than text JSON on typical benchmarks, keeps schema and format metadata, supports lazy loading and references ($ref, @href, *anchor), and underpins conversions and transactions across the stack.

Longer tour, examples, and troubleshooting: README_LONG.md.

Company: eXonware.com · Author: eXonware Backend Team · Email: connect@exonware.com

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 for typical loads.
Lazy Parse on access when you ask for it.
References $ref, @href, *anchor preserved and resolved.
Integration xwnode, xwschema; format metadata carried through.
Transactions ACID-style batches with dependency-aware parallel work.

Docs and tests

  • Start: docs/INDEX.md or docs/.
  • Guides: Basic/advanced usage, performance, conversion, schema validation under docs/ when present.
  • Tests: From repo root, follow this package's runner or pytest layout.

License and links

MIT - see LICENSE. Homepage: https://exonware.com · Repository: https://github.com/exonware/xwjson
Version: 0.9.0.8 | Updated: 30-Mar-2026

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.8.tar.gz (111.9 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.8-py3-none-any.whl (64.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exonware_xwjson-0.9.0.8.tar.gz
  • Upload date:
  • Size: 111.9 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.8.tar.gz
Algorithm Hash digest
SHA256 90932e392c205dccc3c05dfc909bd12dc5b9043140dfc3f4de0e2684d6d332fb
MD5 6fd2de847416ddc5859a25626acf42e6
BLAKE2b-256 67a0b92377f1c89674a4ff07cb016db4631b86d0fcad6e2ce9b2414a8607c36e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for exonware_xwjson-0.9.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 8259da389e6fec434d3b0a7af6aaa839b60da9e53666b0cc628d0ae1aa8077dc
MD5 193f08f1b0a12154911f20dc14c7ca31
BLAKE2b-256 f5ee3f423f68fd438d289d41498ea6f213984bcf8ad5028e8573d6a88724fccc

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