Serializer.SerializeToJson Method
Serializes an object to JavaScript Object Notation (JSON).
Namespace: Microsoft.SharePoint.JsonUtilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function SerializeToJson ( _
o As Object _
) As String
'Usage
Dim instance As Serializer
Dim o As Object
Dim returnValue As String
returnValue = instance.SerializeToJson(o)
public string SerializeToJson(
Object o
)
Parameters
o
Type: System.ObjectAn object representing the data to be serialized.
Return Value
Type: System.String
A String representing the object serialized to JSON.