Attempts to deserialize YAML from a text reader.
public static bool TryDeserialize<T>(TextReader reader, scoped out T? value, YamlSerializerOptions? options = null)
The source reader.
The deserialized value when successful; otherwise default.
The serializer options. If null, Default is used.
true when deserialization succeeded; otherwise false.