다음을 통해 공유


JsonUtility.SerializeToJsonFromProperties Method

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

Return Value

Type: System.String
A String representing the JSON serialization.

See Also

Reference

JsonUtility Class

JsonUtility Members

Microsoft.SharePoint.JsonUtilities Namespace