File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1
1
You can find newer changelog entries in [ GitHub releases] ( https://github.com/Seldaek/jsonlint/releases )
2
2
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
+
3
11
### 1.8.1 (2020-08-13)
4
12
5
13
* 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
34
34
- ` JsonParser::DETECT_KEY_CONFLICTS ` throws an exception on duplicate keys.
35
35
- ` JsonParser::ALLOW_DUPLICATE_KEYS ` collects duplicate keys. e.g. if you have two ` foo ` keys they will end up as ` foo ` and ` foo.2 ` .
36
36
- ` 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.
37
38
38
39
Example:
39
40
You can’t perform that action at this time.
0 commit comments