JsonMediaTypeFormatter::CreateDataContractSerializer Method (Type^)

 

Called during deserialization to get the DataContractJsonSerializer.

Namespace:   System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

public:
virtual DataContractJsonSerializer^ CreateDataContractSerializer(
	Type^ type
)

Parameters

type
Type: System::Type^

The type of object that will be serialized or deserialized.

Return Value

Type: System.Runtime.Serialization.Json::DataContractJsonSerializer^

The object used for serialization.

Return to top
Show: