Click or drag to resize
TomlDeserializeObjectT Method (XElement, DataContractJsonSerializerSettings)
Deserializes the TOML to the specified type.

Namespace: HyperTomlProcessor
Assembly: HyperTomlProcessor (in HyperTomlProcessor.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public static T DeserializeObject<T>(
	XElement toml,
	DataContractJsonSerializerSettings settings
)

Parameters

toml
Type: System.Xml.LinqXElement
The XElement that represents the TOML structure to deserialize.
settings
Type: System.Runtime.Serialization.JsonDataContractJsonSerializerSettings
A DataContractJsonSerializerSettings to make the DataContractJsonSerializer.

Type Parameters

T
The type of the object to deserialize to.

Return Value

Type: T
The deserialized object.
See Also