JsonSerializerContext.Options Property

Definition

Gets the run-time specified options of the context. If no options were passed when instantiating the context, then a new instance is bound and returned.

public:
 property System::Text::Json::JsonSerializerOptions ^ Options { System::Text::Json::JsonSerializerOptions ^ get(); };
public System.Text.Json.JsonSerializerOptions Options { get; }
member this.Options : System.Text.Json.JsonSerializerOptions
Public ReadOnly Property Options As JsonSerializerOptions

Property Value

Remarks

The instance cannot be mutated once it is bound with the context instance.

Applies to