Share via


Serializer members

Provides support to serialize objects to JavaScript Object Notation (JSON).

The Serializer type exposes the following members.

Constructors

  Name Description
Public method Serializer() Default constructor.
Public method Serializer(IDictionary<Type, JsonEncoder>) Creates a serializer object, initialized with a collection of encoder delegates and associated types.
Public method Serializer(IDictionary<Type, JsonEncoder>, Serializer) Creates a serializer object, deriving from a base serializer object, and initialized with a collection of encoder delegates and associated types.

Top

Properties

  Name Description
Public property BaseSerializer Get or set the base serializer property.
Public propertyStatic member Shared Gets a reference to a shared serializer object.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEncoderForType Get the encoder for a particular type.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SerializeToJson Serializes an object to JavaScript Object Notation (JSON).
Public method ToString (Inherited from Object.)

Top

See also

Reference

Serializer class

Microsoft.SharePoint.JsonUtilities namespace