MvcJsonOptions Class

Provides programmatic configuration for JSON in the MVC framework.

Namespace
Microsoft.AspNetCore.Mvc
Assemblies
  • Microsoft.AspNetCore.Mvc.Formatters.Json

Syntax

public class MvcJsonOptions
class Microsoft.AspNetCore.Mvc.MvcJsonOptions

Properties

Microsoft.AspNetCore.Mvc.MvcJsonOptions.SerializerSettings

Gets the Newtonsoft.Json.JsonSerializerSettings that are used by this application.

Return type:Newtonsoft.Json.JsonSerializerSettings
public JsonSerializerSettings SerializerSettings { get; }