TsgcWSPClient_DatasetProperties › AutoEscapeText

AutoEscapeText Property

Automatically escape/unescape reserved characters inside string field values.

Syntax

property AutoEscapeText: Boolean read FAutoEscapeText write FAutoEscapeText;

Default Value

Remarks

When True, string field values containing characters that would break JSON parsing (for example "{", "}", "[", "]", """) are escaped before being sent and unescaped on arrival. Disabled by default; enable it when your Dataset holds free-form text or embedded JSON. Every peer must use the same setting.

Example

oProtocol.AutoEscapeText := True;

Back to Properties