Skip to content

Commit

Permalink
Update changelog/readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed May 11, 2023
1 parent 2c8e038 commit 594fd64
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,13 @@
You can find newer changelog entries in [GitHub releases](https://github.com/Seldaek/jsonlint/releases)

### 1.10.0 (2023-05-11)

* Added ALLOW_COMMENTS flag to parse while allowing (and ignoring) inline `//` and multiline `/* */` comments in the JSON document (#81)

### 1.9.0 (2022-04-01)

* Internal cleanups and type fixes

### 1.8.1 (2020-08-13)

* Added type annotations
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -34,6 +34,7 @@ You can also pass additional flags to `JsonParser::lint/parse` that tweak the fu
- `JsonParser::DETECT_KEY_CONFLICTS` throws an exception on duplicate keys.
- `JsonParser::ALLOW_DUPLICATE_KEYS` collects duplicate keys. e.g. if you have two `foo` keys they will end up as `foo` and `foo.2`.
- `JsonParser::PARSE_TO_ASSOC` parses to associative arrays instead of stdClass objects.
- `JsonParser::ALLOW_COMMENTS` parses while allowing (and ignoring) inline `//` and multiline `/* */` comments in the JSON document.

Example:

Expand Down

0 comments on commit 594fd64

Please sign in to comment.