Click or drag to resize

DefaultJsonSerializerSerializeObject Method (Object, StringBuilder)

Serialization of the object in JSON format to the destination StringBuilder

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public bool SerializeObject(
	Object value,
	StringBuilder destination
)

Parameters

value
Type: SystemObject
The object to serialize to JSON.
destination
Type: System.TextStringBuilder
Write the resulting JSON to this destination.

Return Value

Type: Boolean
Object serialized successfully (true/false).

Implements

IJsonConverterSerializeObject(Object, StringBuilder)
See Also