Welcome to Pyckson’s documentation!

Pyckson is a Python library to transform python objects to and from json.

Pyckson introspects your class __init__ signature to discover it’s structure.

class Example:
    def __init__(self, things: List[int]):
        self.things = things
>>> from pyckson import serialize
>>> serialize(Example([1, 2, 3]))
{'things': [1, 2, 3]}

Indices and tables