Module: cirq.contrib.json

Functions for JSON serialization and de-serialization for classes in Contrib.

Functions

contrib_class_resolver(...): Extend cirq's JSON API with resolvers for cirq contrib classes.

DEFAULT_CONTRIB_RESOLVERS [<function contrib_class_resolver>, <function _lazy_resolver.<locals>.json_resolver>]
DEFAULT_RESOLVERS [<function _lazy_resolver.<locals>.json_resolver>, <function _lazy_resolver.<locals>.json_resolver>, <function _lazy_resolver.<locals>.json_resolver>, <function _lazy_resolver.<locals>.json_resolver>, <function _lazy_resolver.<locals>.json_resolver>]