 | 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
Syntaxpublic string SerializeObject(
Object value
)
Public Function SerializeObject (
value As Object
) As String
Dim instance As DefaultJsonSerializer
Dim value As Object
Dim returnValue As String
returnValue = instance.SerializeObject(value)
member SerializeObject :
value : Object -> string
Parameters
- value
- Type: SystemObject
The object to serialize to JSON.
Return Value
Type:
StringSerialized value.
See Also