FromObject(Object, YamlSerializerOptions?, Type?) Method

Definition

Namespace SharpYaml.Model
Assembly SharpYaml.dll

Creates a YAML element from an object.

public static YamlElement FromObject(object value, YamlSerializerOptions? options = null, Type? expectedType = null)

Parameters

value
Object
expectedType
Type

Returns