Skip to main content

Note: This package is in the dangerous land of 0.x.y versions and may be subject to breaking changes with minor version increments.

This package is superseded by databind.core.

nr.databind.json

The nr.databind.json package implements (de-) serializers for nested payloads that usually result from loading JSON-formatted data.

See also nr.databind.core.

Example

from nr.databind.core import Field, Struct, ObjectMapper
from nr.databind.json import JsonModule

class Person(Struct):
    name = Field(str, prominent=True)
    age = Field(int)
    address = Field(str, default=None)

mapper = ObjectMapper(JsonModule())
print(mapper.deserialize({'name': 'John Wick', 'age': 48, 'address': 'Wicked St.'}))  # Person(name='John Wick')

Copyright © 2020 Niklas Rosenstein

Metadata

Release files for nr.databind.json 0.0.14

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

Source distribution (sdist)

Source distribution for nr.databind.json 0.0.14
File Size Uploaded Provenance Actions
nr.databind.json-0.0.14.tar.gz 9.7 kB Without provenance Details for nr.databind.json-0.0.14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nr.databind.json 0.0.14
File Interpreter ABI Platform Actions
nr.databind.json-0.0.14-py2.py3-none-any.whl Python 3, Python 2 none any Details for nr.databind.json-0.0.14-py2.py3-none-any.whl

Total release size: 21.8 kB

Release files / nr.databind.json-0.0.14.tar.gz

Download URL nr.databind.json-0.0.14.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
27c7a7a69f6f703a0c616b898950fdb53a51b39cf9874d412ebc12dea574f20e
BLAKE2b-256 checksum
How to use checksums
b7ad46cd8ced8a77889c4a7bd718e2815968201bfe0d89a91bf950ba58ecde71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

Release files / nr.databind.json-0.0.14-py2.py3-none-any.whl

Download URL nr.databind.json-0.0.14-py2.py3-none-any.whl
Size 12.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3765fd581c2ca2ee249ccfd460be0f472cc2bc9e5305e2f415d587a5e27c3b86
BLAKE2b-256 checksum
How to use checksums
2ac7880f19ad45cce43f7667fa75b338e9e8e8ff2f10a3d90426b7f505970802
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

Security for nr.databind.json 0.0.14

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