TJSONOption enumeration
JSON scanner options
Declaration
TJSONOption = (joUTF8,joStrict,joComments,joIgnoreTrailingComma,
joIgnoreDuplicates,joBOMCheck,joSingle)Description
Enumeration of options that control the behavior of the JSON scanner. These options can be combined in a TJSONOptions set.
-
joUTF8 - Return strings with UTF8 codepage
-
joStrict - Use strict JSON parsing (require quotes around object member names)
-
joComments - Allow JavaScript-style comments in JSON
-
joIgnoreTrailingComma - Ignore trailing commas in arrays and objects
-
joIgnoreDuplicates - Do not attempt to add duplicate object members
-
joBOMCheck - Check for byte order mark at beginning of stream
-
joSingle - Read only a single JSON value from the stream
See also
Values
joUTF8 | UTF8 string encoding option |
joStrict | Strict JSON parsing option |
joComments | Allow comments option |
joIgnoreTrailingComma | Ignore trailing comma option |
joIgnoreDuplicates | Ignore duplicate keys option |
joBOMCheck | Check byte order mark option |
joSingle | Single value parsing option |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
