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