Attempts to deserialize YAML from a text reader using an explicit destination type.
public static bool TryDeserialize(TextReader reader, Type returnType, scoped out object? value, YamlSerializerOptions? options = null)
The source reader.
The destination CLR type.
The deserialized value when successful; otherwise null.
The serializer options. If null, Default is used.
true when deserialization succeeded; otherwise false.