Click or drag to resize

DefaultJsonSerializerSerializeObject Method (Object, JsonSerializeOptions)

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,
	JsonSerializeOptions options
)

Parameters

value
Type: SystemObject
The object to serialize to JSON.
options
Type: NLog.TargetsJsonSerializeOptions
serialization options

Return Value

Type: String
Serialized value.
See Also