Click or drag to resize
TomlSerializeObject Method (Object, FuncDataContractJsonSerializer)
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,
	Func<DataContractJsonSerializer> factory = null
)

Parameters

obj
Type: SystemObject
The object to serialize.
factory (Optional)
Type: SystemFuncDataContractJsonSerializer
The function to make a DataContractJsonSerializer. if null, it will make a DataContractJsonSerializer with default settings.

Return Value

Type: String
A TOML string.
See Also