Deserialize(String, Type, TomlSerializerContext) Method

Definition

Namespace Tomlyn
Assembly Tomlyn.dll

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

public static object? Deserialize(string toml, Type returnType, TomlSerializerContext context)

Parameters

toml
String
returnType
Type

Returns