Share via


IJsonSerializable.ToJson method

Serializes this object to the JavaScript Object Notation (JSON).

Namespace:  Microsoft.SharePoint.JsonUtilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Function ToJson ( _
    s As Serializer _
) As String
'Usage
Dim instance As IJsonSerializable
Dim s As Serializer
Dim returnValue As String

returnValue = instance.ToJson(s)
string ToJson(
    Serializer s
)

Parameters

Return value

Type: System.String
Returns String.

See also

Reference

IJsonSerializable interface

IJsonSerializable members

Microsoft.SharePoint.JsonUtilities namespace