File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 11You can find newer changelog entries in [ GitHub releases] ( https://github.com/Seldaek/jsonlint/releases )
22
3+ ### 1.10.0 (2023-05-11)
4+
5+ * Added ALLOW_COMMENTS flag to parse while allowing (and ignoring) inline ` // ` and multiline ` /* */ ` comments in the JSON document (#81 )
6+
7+ ### 1.9.0 (2022-04-01)
8+
9+ * Internal cleanups and type fixes
10+
311### 1.8.1 (2020-08-13)
412
513 * Added type annotations
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ You can also pass additional flags to `JsonParser::lint/parse` that tweak the fu
3434- ` JsonParser::DETECT_KEY_CONFLICTS ` throws an exception on duplicate keys.
3535- ` JsonParser::ALLOW_DUPLICATE_KEYS ` collects duplicate keys. e.g. if you have two ` foo ` keys they will end up as ` foo ` and ` foo.2 ` .
3636- ` JsonParser::PARSE_TO_ASSOC ` parses to associative arrays instead of stdClass objects.
37+ - ` JsonParser::ALLOW_COMMENTS ` parses while allowing (and ignoring) inline ` // ` and multiline ` /* */ ` comments in the JSON document.
3738
3839Example:
3940
You can’t perform that action at this time.
0 commit comments