DeserializeObject Method
Definition
- Namespace
- Codebelt.Extensions.YamlDotNet.Formatters
- Assemblies
- Codebelt.Extensions.YamlDotNet.dll
DeserializeObject(Stream, Action<IDeserializer, Parser>, Action<YamlFormatterOptions>)
Deserializes the specified value using delegate deserializerFactory.
public static void DeserializeObject(Stream value, Action<IDeserializer, Parser> deserializerFactory, Action<YamlFormatterOptions> setup = null)
Parameters
valueStreamThe string from which to deserialize the object graph.
deserializerFactoryAction<IDeserializer, Parser>The delegate that performs the deserialization.
setupAction<YamlFormatterOptions>The YamlFormatterOptions which may be configured.
DeserializeObject(Stream, Action<IDeserializer, Parser>, YamlFormatterOptions)
Deserializes the specified value using delegate deserializerFactory.
public static void DeserializeObject(Stream value, Action<IDeserializer, Parser> deserializerFactory, YamlFormatterOptions options)
Parameters
valueStreamThe string from which to deserialize the object graph.
deserializerFactoryAction<IDeserializer, Parser>The delegate that performs the deserialization.
optionsYamlFormatterOptionsThe configured YamlFormatterOptions.