Serializes a value to a writer.
public static void Serialize<T>(TextWriter writer, T value, YamlSerializerOptions? options = null)
The destination writer.
The value to serialize.
The serializer options. If null, Default is used.
null