Unit 'JsonWriter' Package
[Overview][Classes][Index] [#fcl]

TJSONStreamWriter.StrictStrings

Control strict JSON string encoding

Declaration

Source position: jsonwriter.pp line 131

public property TJSONStreamWriter.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

StringToJSONString

  

Convert a string to a JSON-escaped string.


Documentation generated on: Jan 27 2026