ProviderRegistrySerializer
class ProviderRegistrySerializer(serializableKeys: Map<String, RegistrySerializableKey<*>>) : KSerializer<ProviderRegistry> (source)
A KSerializer for ProviderRegistry that can serialize and deserialize provider registry contents.
This serializer works with RegistrySerializableKey instances to properly serialize provider registry values using their associated serializers.
Parameters
serializableKeys
A map from string names to RegistrySerializableKey instances that this serializer should handle.
Functions
Link copied to clipboard
Deserializes a ProviderRegistry from the specified decoder.
Link copied to clipboard
Serializes a ProviderRegistry to the specified encoder.