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.3.tar.gz (11.8 kB 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.3-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: json_type_hints-1.3.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • 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.3.tar.gz
Algorithm Hash digest
SHA256 0a5a4c07b846e0a1f4e25d37422e20abd5202a381e7966c87817ca098ccc39c4
MD5 e5264f3c3e5a2639a739f0f6e9dd02f0
BLAKE2b-256 8cfd6dc9e65dd46de320d9d07a5f2c3120b6e0252968991d08814f80e1955414

See more details on using hashes here.

File details

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

File metadata

  • Download URL: json_type_hints-1.3-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

Hashes for json_type_hints-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a65f2be6816366b03d160e39e1c7b34e00cdabf3cc5365a74ff4be98de91490c
MD5 459b5ff12c6e8b4b499f900293f49017
BLAKE2b-256 0dfe35335cc87b30b4859297dd2d5e61f31f5a8073f90570d0c72f9510325267

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