RegistrySerializer
class RegistrySerializer(serializableKeys: Map<String, RegistrySerializableKey<*>>) : KSerializer<Registry> (source)
A KSerializer for Registry that can serialize and deserialize registry contents.
This serializer works with RegistrySerializableKey instances to properly serialize registry values using their associated serializers.
Parameters
serializableKeys
A map from string names to RegistrySerializableKey instances that this serializer should handle.