JsonEncoder Delegate
A delegate representing the method to encode an object into JavaScript Object Notation (JSON).
Namespace: Microsoft.SharePoint.JsonUtilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Delegate Function JsonEncoder ( _
s As Serializer, _
obj As Object _
) As String
'Usage
Dim instance As New JsonEncoder(AddressOf HandlerMethod)
public delegate string JsonEncoder(
Serializer s,
Object obj
)
Parameters
s
Type: Microsoft.SharePoint.JsonUtilities.SerializerThe Serializer object to be used for encoding.
obj
Type: System.ObjectThe System.Object to encode.
Return Value
Type: System.String
A String representing the encoded object.