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

Parameters

stream
Type: System.IOStream
A stream 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