From b5de5eed0e28f0d1fa3bad97af033a2038dd4bb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Van=20Canneyt?= Date: Thu, 10 Oct 2024 22:11:21 +0200 Subject: [PATCH] * Update some comments --- packages/fcl-json/src/jsonscanner.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/fcl-json/src/jsonscanner.pp b/packages/fcl-json/src/jsonscanner.pp index 2b64f2594b..9c9768dcb4 100644 --- a/packages/fcl-json/src/jsonscanner.pp +++ b/packages/fcl-json/src/jsonscanner.pp @@ -58,9 +58,9 @@ type EScannerError = class(EParserError); TJSONOption = (joUTF8, // Return string with UTF8 codepage. - joStrict, // Do not allow { a : "x" } (no quotes around a) + joStrict, // Do not allow { a : "x" } (no quotes around a). joComments, // Allow javascript comments in JSON. - joIgnoreTrailingComma, // Ignore trailing comma in array + joIgnoreTrailingComma, // Ignore trailing comma in array/object. joIgnoreDuplicates, // Do not attempt to add duplicate object members. Default is to try and add them. joBOMCheck, // Check for BOM marker at beginning of stream. joSingle // Only read a single JSON value from the stream. Default is to continue reading tokens.