An extension of the standard json library
Project description
json-type-hints
json-type-hints is a simple extension of the standard json library intended to help facilitate transferring python objects as json encoded strings. Data types that don't have corresponding json types are preserved by encoding them as dictionaries with __type__ and __data__ fields. It encodes and decodes bytes and tuple by default (replacing the default json library encoding of tuple as list) and allows adding additional types.
provides dumps and loads methods
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file json_type_hints-1.2.tar.gz.
File metadata
- Download URL: json_type_hints-1.2.tar.gz
- Upload date:
- Size: 12.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cddccd4520aad7d299b81068739ebe8e20e9f54e202d8a1bf39aafad1d4f9328
|
|
| MD5 |
a6d9b2d271a47a5a3bb83064c2145165
|
|
| BLAKE2b-256 |
b4af4f14433c0c385240bd70f69fbe4148b7af023b92a95f3f4b298b24506db8
|
File details
Details for the file json_type_hints-1.2-py3-none-any.whl.
File metadata
- Download URL: json_type_hints-1.2-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2edbeeb41d36f4046119227be53bf1c9d3ed1c492c37abcca8ae437cd5bc331
|
|
| MD5 |
ce6b94d73d839e59c3afa15f26457198
|
|
| BLAKE2b-256 |
c81399e506591dbcaed010359e2435c7d819c90ca6df83738dc3507e8120b96f
|