Skip to main content

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

json_type_hints-1.1.tar.gz (12.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

json_type_hints-1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file json_type_hints-1.1.tar.gz.

File metadata

  • Download URL: json_type_hints-1.1.tar.gz
  • Upload date:
  • Size: 12.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for json_type_hints-1.1.tar.gz
Algorithm Hash digest
SHA256 f1d08fd196e04ab6bce4dd6fb3d9e100fb0fd5a6137239a216dd81723d581d0a
MD5 3b73353b5a4e3058c547699f7a696672
BLAKE2b-256 53a71e81a64a3203ab35c17cf289ce69d01ccf9fea9821d0674d4c0941b98e9a

See more details on using hashes here.

File details

Details for the file json_type_hints-1.1-py3-none-any.whl.

File metadata

  • Download URL: json_type_hints-1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for json_type_hints-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb3d297870c799132538fdec31e27281a932e271dc99f033b5ec74575474e42e
MD5 06b2d518609d82695cd89dfdb432e5d5
BLAKE2b-256 f6fa61a492d197d05a3aec1c3bcc31dc415e629dcc3258e852fb14ab981a855e

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