Sign in Join
FPDoc Onlineexperiment

TJSONStreamWriter.StrictStrings property

Member of TJSONStreamWriterpublicIn unit JsonWriter

Control strict JSON string encoding

Declaration

pascal
property StrictStrings: Boolean read FStrictStrings write FStrictStrings;

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.