Click or drag to resize

DefaultJsonSerializerSerializeObject Method (Object)

Returns a serialization of an object into JSON format.

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

Parameters

value
Type: SystemObject
The object to serialize to JSON.

Return Value

Type: String
Serialized value.
See Also