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)

public delegate string JsonEncoder(
	Serializer s,
	Object obj
)

Parameters

s
Type: Microsoft.SharePoint.JsonUtilities.Serializer

The Serializer object to be used for encoding.

obj
Type: System.Object

The System.Object to encode.

Return Value

Type: System.String
A String representing the encoded object.
Show: