Attempts to deserialize YAML from a stream using UTF-8 encoding and an explicit destination type using generated metadata from a serializer context.
public static bool TryDeserialize(Stream utf8Stream, Type returnType, YamlSerializerContext context, scoped out object? value)
The source stream.
The destination CLR type.
The source-generated serializer context.
The deserialized value when successful; otherwise null.
true when deserialization succeeded; otherwise false.