Compartilhar via


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.Object

    An object representing the data to be serialized.

Return Value

Type: System.String
A String representing the object serialized to JSON.

See Also

Reference

Serializer Class

Serializer Members

Microsoft.SharePoint.JsonUtilities Namespace