JsonOptions Class

Definition

public ref class JsonOptions
public class JsonOptions
type JsonOptions = class
Public Class JsonOptions
Inheritance
JsonOptions

Constructors

JsonOptions()

Properties

AllowInputFormatterExceptionMessages

Gets or sets a flag to determine whether error messages from JSON deserialization by the SystemTextJsonInputFormatter will be added to the ModelStateDictionary. If false, a generic error message will be used instead.

JsonSerializerOptions

Gets the JsonSerializerOptions used by SystemTextJsonInputFormatter and SystemTextJsonOutputFormatter.

Applies to