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: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public string SerializeObject(
	Object value
)

Parameters

value
Type: SystemObject
The object to serialize to JSON.

Return Value

Type: String
Serialized value.
See Also