Skip to content

TJSONStreamWriter.StrictStrings

Control strict JSON string encoding

Declaration

Source position: jsonwriter.pp line 131

public property StrictStrings: Boolean;

Description

StrictStrings controls whether string encoding follows strict JSON rules. When True, all non-ASCII characters are escaped using Unicode escape sequences. When False, only the minimal required characters are escaped according to JSON syntax.

See also

Name Description
StringToJSONString Convert a string to a JSON-escaped string.