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

Definition

Namespace Tomlyn
Assembly Tomlyn.dll

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

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

Parameters

toml
String
returnType
Type
value
Object

Returns