Skip to main content

A hyper-fast Python module for reading/writing JSON5 data

Project description

hyperjson5

A hyper-fast, safe Python module to read and write JSON data. Works as a drop-in replacement for Python's built-in json module. This is alpha software and there will be bugs, so maybe don't deploy to production just yet. :wink:

Installation

pip install hyperjson5

Usage

hyperjson5 is meant as a drop-in replacement for Python's json module:

>>> import hyperjson5
>>> hyperjson5.dumps([{"key": "value"}, 81, True])
'[{"key":"value"},81,true]'
>>> hyperjson5.loads("""[{key: "value"}, 81, true]""")
[{u'key': u'value'}, 81, True]

Contributions welcome!

License

hyperjson5 is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in hyperjson by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

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

hyperjson5-0.1.0.tar.gz (42.9 kB view hashes)

Uploaded Source

Built Distribution

hyperjson5-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.34+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page