Lue englanniksi

Jaa


JsonOptions Class

Definition

C#
public class JsonOptions
Inheritance
JsonOptions

Constructors

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

Tuote Versiot
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0