Skip to main content

get_deserializer

Returns the Deserializer class for a given format, loading all available serializers if they have not been initialized yet.

def get_deserializer(
format: string
) - > class

Retrieves the deserializer class for a specific data format, ensuring all available serializers are loaded into the registry first.

Parameters

NameTypeDescription
formatstringThe identifier for the serialization format (e.g., 'json', 'xml') for which to retrieve the deserializer.

Returns

TypeDescription
classThe Deserializer class associated with the requested format, used to convert serialized data back into Python objects.