MvcNewtonsoftJsonOptions
Provides programmatic configuration for JSON formatters using Newtonsoft.JSON.
Gets or sets a flag to determine whether error messages from JSON deserialization by the
NewtonsoftJsonInputFormatter will be added to the ModelStateDictionary. If
false, a generic error message will be used instead.
Gets the maximum size to buffer in memory when SuppressInputFormatterBuffering is not set.
NewtonsoftJsonInputFormatter buffers the input stream by default, buffering up to a certain amount in memory, before buffering to disk. This option configures the size in bytes that MVC will buffer in memory, before switching to disk.
Gets the JsonSerializerSettings that are used by this application.
public MvcNewtonsoftJsonOptions()