DatabaseOptions.OverrideSerialization Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether serialization overridden.
public:
property bool OverrideSerialization { bool get(); void set(bool value); };
[System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0011", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public bool OverrideSerialization { get; set; }
public bool OverrideSerialization { get; set; }
[<System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0011", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
member this.OverrideSerialization : bool with get, set
member this.OverrideSerialization : bool with get, set
Public Property OverrideSerialization As Boolean
Property Value
The default is true
.
- Attributes
Remarks
When enabled, System.Text.Json based serialization will be configured with settings defined in JsonSerializerOptions.