JsonSerializerOptions.Encoder 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 the encoder to use when escaping strings, or null
to use the default encoder.
public:
property System::Text::Encodings::Web::JavaScriptEncoder ^ Encoder { System::Text::Encodings::Web::JavaScriptEncoder ^ get(); void set(System::Text::Encodings::Web::JavaScriptEncoder ^ value); };
public System.Text.Encodings.Web.JavaScriptEncoder? Encoder { get; set; }
public System.Text.Encodings.Web.JavaScriptEncoder Encoder { get; set; }
member this.Encoder : System.Text.Encodings.Web.JavaScriptEncoder with get, set
Public Property Encoder As JavaScriptEncoder
Property Value
The JavaScript character encoding.
Remarks
For more information, see How to customize character encoding with System.Text.Json.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.