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

Definition

Namespace Tomlyn
Assembly Tomlyn.dll

Attempts to deserialize a TOML payload from a text reader into an explicit destination type using generated metadata from a serializer context.

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

Parameters

reader
TextReader
returnType
Type
value
Object

Returns