Click or drag to resize
TomlSerializeObject Method (Object, DataContractJsonSerializerSettings)
Serializes the specified object to a TOML string.

Namespace: HyperTomlProcessor
Assembly: HyperTomlProcessor (in HyperTomlProcessor.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public string SerializeObject(
	Object obj,
	DataContractJsonSerializerSettings settings
)

Parameters

obj
Type: SystemObject
The object to serialize.
settings
Type: System.Runtime.Serialization.JsonDataContractJsonSerializerSettings
A DataContractJsonSerializerSettings to make the DataContractJsonSerializer.

Return Value

Type: String
A TOML string.
See Also