Skip to content

Commit 594fd64

Browse files
committed
Update changelog/readme
1 parent 2c8e038 commit 594fd64

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
You 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

README.md

+1
Original file line numberDiff line numberDiff 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

3839
Example:
3940

0 commit comments

Comments
 (0)