From 807632f5bc6ff96fca9931e8960e8747e2c61152 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Tue, 21 Sep 2021 13:10:33 +0300 Subject: [PATCH] readme: improve ParseOptions documentation add allowTrailingComma, allowEmptyContent --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2b2148c..cff8e13 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,8 @@ export interface JSONScanner { export interface ParseOptions { disallowComments?: boolean; + allowTrailingComma?: boolean; + allowEmptyContent?: boolean; } /** * Parses the given text and returns the object the JSON content represents. On invalid input, the parser tries to be as fault tolerant as possible, but still return a result.