Click or drag to resize
TomlDeserializeObjectT Method (IEnumerableChar, FuncDataContractJsonSerializer)
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 T DeserializeObject<T>(
	IEnumerable<char> toml,
	Func<DataContractJsonSerializer> factory = null
)

Parameters

toml
Type: System.Collections.GenericIEnumerableChar
The TOML string to deserialize.
factory (Optional)
Type: SystemFuncDataContractJsonSerializer
The function to make a DataContractJsonSerializer. if null, it will make a DataContractJsonSerializer with default settings.

Type Parameters

T
The type of the object to deserialize to.

Return Value

Type: T
The deserialized object.
See Also