Table of Contents

DeserializeObject Method

Definition

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

value Stream

The string from which to deserialize the object graph.

deserializerFactory Action<IDeserializer, Parser>

The delegate that performs the deserialization.

setup Action<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

value Stream

The string from which to deserialize the object graph.

deserializerFactory Action<IDeserializer, Parser>

The delegate that performs the deserialization.

options YamlFormatterOptions

The configured YamlFormatterOptions.