Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
open class YamlFlatteningPolymorphicSerializer<T : Any>(base: KClass<T>) : KSerializer<T>

Polymorphic serializer that flattens type/value wrappers for yamlkt only. For all other formats, it delegates to the default polymorphic serializer unchanged.

Functions

Link copied to clipboard

Reads an attestation configuration of type A from a JSON file located at the specified path.

Link copied to clipboard

Reads an attestation configuration from a YAML file and deserializes it into an instance of type A.

Link copied to clipboard

Writes the JSON representation of this AttestationConfiguration to the specified file.

Link copied to clipboard

Serializes this AttestationConfiguration instance to a YAML-formatted string and writes it to the specified file.