Click or drag to resize
TomlSerializeObject Method (TextWriter, Object, FuncDataContractJsonSerializer)
Serializes the specified object to TOML.

Namespace: HyperTomlProcessor
Assembly: HyperTomlProcessor (in HyperTomlProcessor.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public void SerializeObject(
	TextWriter writer,
	Object obj,
	Func<DataContractJsonSerializer> factory = null
)

Parameters

writer
Type: System.IOTextWriter
A TextWriter to write the TOML content to.
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.
See Also