JsonMediaTypeFormatter.UseDataContractJsonSerializer Property

 

Gets or sets a value indicating whether to use DataContractJsonSerializer by default.

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

Syntax

public bool UseDataContractJsonSerializer {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    set;
}
public:
property bool UseDataContractJsonSerializer {
    [CompilerGeneratedAttribute]
    bool get();
    [CompilerGeneratedAttribute]
    void set(bool value);
}
member UseDataContractJsonSerializer : bool with get, set
Public Property UseDataContractJsonSerializer As Boolean

Property Value

Type: System.Boolean

true if to DataContractJsonSerializer by default; otherwise, false.

See Also

JsonMediaTypeFormatter Class
System.Net.Http.Formatting Namespace

Return to top