System.JSON.Writers.TJsonTextWriter.StringEscapeHandling
Delphi
property StringEscapeHandling: TJsonStringEscapeHandling read FStringEscapeHandling write SetStringEscapeHandling;
C++
__property System::Json::Types::TJsonStringEscapeHandling StringEscapeHandling = {read=FStringEscapeHandling, write=SetStringEscapeHandling, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.JSON.Writers.pas System.JSON.Writers.hpp |
System.JSON.Writers | TJsonTextWriter |
Description
Gets or sets how strings are escaped when writing JSON text.
The possible values are Default, EscapeNonAscii, EscapeHtml
.
Default
: Only control characters are escaped, for example a newline.EscapeNonAscii
: All non-ASCII and control characters are escaped.EscapeHtml
: HTML (<, >, &, ', ") and control characters are escaped.