TypeRegistry.deserialize#
- TypeRegistry.deserialize(data, context=None)[source]#
Deserialize a dict back to an object.
Three-tier dispatch: 1. If
__deferred__is True, return an unresolvedDeferredFactory. 2. If a custom deserializer was registered, call it with(data, context). 3. Otherwise, look up the class by__type__and callcls.from_dict(data).