JsonMediaTypeFormatter Properties
Include Protected Members
Include Inherited Members
The JsonMediaTypeFormatter type exposes the following members.
Properties
Name | Description | |
---|---|---|
DefaultMediaType | Gets the default media type for JSON, namely "application/json". | |
Indent | Gets or sets a value indicating whether to indent elements when writing data. | |
MaxDepth | Gets or sets the maximum depth allowed by this formatter. | |
MediaTypeMappings | Gets the mutable collection of MediaTypeMapping objects that match HTTP requests to media types. (Inherited from MediaTypeFormatter.) | |
RequiredMemberSelector | Gets or sets the IRequiredMemberSelector instance used to determine required members. (Inherited from MediaTypeFormatter.) | |
SerializerSettings | Gets or sets the JsonSerializerSettings used to configure the JsonSerializer. | |
SupportedEncodings | Gets the mutable collection of character encodings supported bythis MediaTypeFormatter. (Inherited from MediaTypeFormatter.) | |
SupportedMediaTypes | Gets the mutable collection of media types supported bythis MediaTypeFormatter. (Inherited from MediaTypeFormatter.) | |
UseDataContractJsonSerializer | Gets or sets a value indicating whether to use DataContractJsonSerializer by default. |
Top