다음을 통해 공유


JsonUtility.JsonEncode Method

Encode the string into JavaScript Object Notation (JSON).

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

Syntax

'Declaration
Public Shared Function JsonEncode ( _
    s As String _
) As String
'Usage
Dim s As String
Dim returnValue As String

returnValue = JsonUtility.JsonEncode(s)
public static string JsonEncode(
    string s
)

Parameters

Return Value

Type: System.String
Returns String.

See Also

Reference

JsonUtility Class

JsonUtility Members

Microsoft.SharePoint.JsonUtilities Namespace