Serializes a value using explicit type metadata.
public static string Serialize<T>(T value, YamlTypeInfo<T> typeInfo)
The value to serialize.
The metadata used for serialization.