SerializeObject(Object,JsonSetting) Method
Serializes the specified object to a JSON string using
JsonSetting.
'Declaration
Public Overloads Shared Function SerializeObject( _
ByVal As Object, _
Optional ByVal As JsonSetting _
) As String
Parameters
- obj
- The object to serialize.
- js
- The JsonSetting used to serialize the object. If this is null, default serialization settings will be used.
Return Value
A JSON string representation of the object.