Skip to main content

fast-json

Combines best parts of json and ujson for fast serialization.

import fast_json

print(
    fast_json.dumps({
        "foo": "bar",
         "now": datetime.datetime.now()
    })
)

Serializing custom type

import fast_json
from collections import namedtuple


MyType = namedtuple("MyType", ["name", "value"])


@fast_json.convert.register(MyType)
def _(value):
    return "name={0.name} value={0.value}".format(value)


print(
    fast_json.dumps({
        "one": MyType(name="foo", value="bar")
    })
)

Metadata

Release files for fast-json 0.3.2

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

Source distribution (sdist)

Source distribution for fast-json 0.3.2
File Size Uploaded Provenance Actions
fast-json-0.3.2.tar.gz 1.9 kB Without provenance Details for fast-json-0.3.2.tar.gz

Release files / fast-json-0.3.2.tar.gz

Download URL fast-json-0.3.2.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a1e706410cdc1b7bcab14383cdab9e093d7ca872ff761927c162bd7fda83ad2f
BLAKE2b-256 checksum
How to use checksums
0f1eeafcfca27a76a767457623b095ca508f3e5a035c9a2649ad57f3f1dafa04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/33.1.1 requests-toolbelt/0.8.0 tqdm/4.20.0 CPython/3.6.5

Security for fast-json 0.3.2

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.

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