Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Generate JavaScript Object Notation (JSON) serialization by serializing the individual properties of an object.
Namespace: Microsoft.SharePoint.JsonUtilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function SerializeToJsonFromProperties ( _
s As Serializer, _
obj As Object _
) As String
'Usage
Dim s As Serializer
Dim obj As Object
Dim returnValue As String
returnValue = JsonUtility.SerializeToJsonFromProperties(s, _
obj)
public static string SerializeToJsonFromProperties(
Serializer s,
Object obj
)
Parameters
s
Type: Microsoft.SharePoint.JsonUtilities.SerializerSerializer object used to serialize each property.
obj
Type: System.ObjectThe object to be serialized.
Return Value
Type: System.String
A String representing the JSON serialization.