Serialize(Object?, TomlTypeInfo) Method

Definition

Namespace Tomlyn
Assembly Tomlyn.dll

Serializes a value into TOML text using explicit metadata.

public static string Serialize(object? value, TomlTypeInfo typeInfo)

Parameters

value
Object
typeInfo
TomlTypeInfo

Returns