A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class SystemTextJsonSettingsOptions

Used to specify settings for "System.Text.Json" based implementations of IJsonInputFormatter and IJsonOutputFormatter

Inheritance
System.Object
SystemTextJsonSettingsOptions
Namespace: EPiServer.Formatters
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
[Options(ConfigurationSection = "Cms")]
public class SystemTextJsonSettingsOptions : Object

Constructors

SystemTextJsonSettingsOptions()

Declaration
public SystemTextJsonSettingsOptions()

Properties

SerializerOptions

The System.Text.Json.JsonSerializerOptions used by the formatter

Declaration
public JsonOptions SerializerOptions { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Mvc.JsonOptions

Extension Methods