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.0.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.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: json_type_hints-1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 dbbd6d3e879daf25c94bad18f5cd6228ce06397313734e8ce84e6953d0d06eec
MD5 51b898a7bc80341fc276f0be1b4595b6
BLAKE2b-256 82ed260843726c6ad50e616ab04f62b446bdbaaf6ba73e0ff527a7e275ada7d7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: json_type_hints-1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ee5a76c6f98e094419ac415ee4328380ada8b5c3e586724769a67f17693c6ef
MD5 54a5cb63f004444c510ad8d0a84ee459
BLAKE2b-256 850e608e26dae8fe89bb98570ac1b8f7a6e2534f81842254749b51e359f83b4c

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