Legivel


Serialization

Namespace: Legivel

Nested types and modules

TypeDescription
DeserializeResult<'tp>

Deserialization result

ErrorInfo

Returned when deserialization contained errors

MapYaml
ProcessingOption
SuccessInfo<'tp>

Returned when deserialization was succesful

Functions and values

Function or valueDescription
Deserialize(yaml)
Signature: yaml:string -> DeserializeResult<'tp> list
Type parameters: 'tp

Deserialize yaml-string to the provided type

DeserializeWithOptions options yaml
Signature: options:ProcessingOption list -> yaml:string -> DeserializeResult<'tp> list
Type parameters: 'tp
Fork me on GitHub