TryDeserialize(Stream, Type, TomlSerializerContext, out Object?) Method

Definition

Namespace Tomlyn
Assembly Tomlyn.dll

Attempts to deserialize a TOML payload from a stream using UTF-8 encoding into an explicit destination type using generated metadata from a serializer context.

public static bool TryDeserialize(Stream stream, Type returnType, TomlSerializerContext context, scoped out object? value)

Parameters

stream
Stream
returnType
Type
value
Object

Returns