Skip to content

TJSONOptions

Set of JSON scanner options

Declaration

Source position: jsonscanner.pp line 68

type
  TJSONOptions = Set of TJSONOption = (joUTF8,joStrict,joComments,joIgnoreTrailingComma,
               joIgnoreDuplicates,joBOMCheck,joSingle);

Values

Value Description
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

Description

Set type that combines multiple TJSONOption values. Used to configure the behavior of the JSON scanner.

See also

Name Description
TJSONOption JSON scanner options
DefaultOptions Default scanner options
TJSONScanner JSON lexical scanner