Welcome to jsonype’s documentation!

Contents:

jsonype is a package for converting Python’s JSON representation to (or from) a Python object of a given type if possible (i.e. a suitable converter is available). This is most useful when the given type contains type-hints such that this type-based conversion can be applied (possibly recursively) for the individual components of the initial type.

Getting Started

Add jsonype to your dependencies or install with pip:

pip install jsonype

For details on how to use it see jsonype.TypedJson.

Indices and tables