Deserializes a YAML payload into an explicit destination type.
public static object? Deserialize(string yaml, Type returnType, YamlSerializerOptions? options = null)
The YAML payload.
The destination CLR type.
The serializer options. If null, Default is used.