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
- s
Type: System.String
Return Value
Type: System.String
Returns String.