DataContractJsonSerializer Constructor

DataContractJsonSerializer Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the DataContractJsonSerializer class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method DataContractJsonSerializer(Type) Initializes a new instance of the DataContractJsonSerializer class to serialize or deserialize an object of the specified type.
Public method DataContractJsonSerializer(Type, IEnumerable<Type>) Initializes a new instance of the DataContractJsonSerializer class to serialize or deserialize an object of a specified type with a collection of known types that may be present in the object graph.
Public method DataContractJsonSerializer(Type, DataContractJsonSerializerSettings) Initializes a new instance of the DataContractJsonSerializer class to serialize or deserialize an object of the specified type and serializer settings.
Top

Show:
© 2017 Microsoft