This documentation is archived and is not being maintained.

DataContractJsonSerializer Properties

The DataContractJsonSerializer type exposes the following members.

Public property DataContractSurrogate Gets a surrogate type that is currently active for a given IDataContractSurrogate instance. Surrogates can extend the serialization or deserialization process.
Public property IgnoreExtensionDataObject Gets a value that specifies whether unknown data is ignored on deserialization and whether the IExtensibleDataObject interface is ignored on serialization.
Public property KnownTypes Gets a collection of types that may be present in the object graph serialized using this instance of the DataContractJsonSerializer.
Public property MaxItemsInObjectGraph Gets the maximum number of items in an object graph that the serializer serializes or deserializes in one read or write call.