| 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
)
Public Function SerializeObject (
value As Object,
destination As StringBuilder
) As Boolean
Dim instance As DefaultJsonSerializer
Dim value As Object
Dim destination As StringBuilder
Dim returnValue As Boolean
returnValue = instance.SerializeObject(value,
destination)
abstract SerializeObject :
value : Object *
destination : StringBuilder -> bool
override SerializeObject :
value : Object *
destination : StringBuilder -> bool
Parameters
- value
- Type: SystemObject
The object to serialize to JSON. - destination
- Type: System.TextStringBuilder
Write the resulting JSON to this destination.
Return Value
Type:
BooleanObject serialized successfully (true/false).
Implements
IJsonConverterSerializeObject(Object, StringBuilder)See Also