Serializer Constructor (IDictionary<Type, JsonEncoder>)
Creates a serializer object, initialized with a collection of encoder delegates and associated types.
Namespace: Microsoft.SharePoint.JsonUtilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
encoders As IDictionary(Of Type, JsonEncoder) _
)
'Usage
Dim encoders As IDictionary(Of Type, JsonEncoder)
Dim instance As New Serializer(encoders)
public Serializer(
IDictionary<Type, JsonEncoder> encoders
)
Parameters
encoders
Type: System.Collections.Generic.IDictionary<Type, JsonEncoder>A dictionary mapping types to encoders.