Skip to content

Commit b814cdc

Browse files
committed
added ParseOptions.allowTrailingComma
1 parent 050c488 commit b814cdc

File tree

3 files changed

+73
-62
lines changed

3 files changed

+73
-62
lines changed

CHANGELOG.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
1-
2.1.2 2019-10-22
1+
2.2.0 2019-10-25
22
==================
3-
- parse: Report error for empty content
4-
- parse: Fix issue with empty property name
3+
* added *ParseOptions.allowTrailingComma*. Default is `false`.
4+
* New API *getNodeType*: Returns the type of a value returned by parse.
5+
* parse: Fix issue with empty property name
56

67
2.1.0 2019-03-29
78
==================
8-
- `JSONScanner` and `JSONVisitor` return lineNumber / character.
9+
* `JSONScanner` and `JSONVisitor` return lineNumber / character.
910

1011
2.0.0 2018-04-12
1112
==================
12-
- renamed Node.columnOffset to Node.colonOffset
13-
- new API getNodePath: Gets the JSON path of the given JSON DOM node
14-
- new API findNodeAtOffset: Finds the most inner node at the given offset. If includeRightBound is set, also finds nodes that end at the given offset.
13+
* renamed Node.columnOffset to Node.colonOffset
14+
* new API getNodePath: Gets the JSON path of the given JSON DOM node
15+
* new API findNodeAtOffset: Finds the most inner node at the given offset. If includeRightBound is set, also finds nodes that end at the given offset.
1516

1617
1.0.3 2018-03-07
1718
==================
18-
- provide ems modules
19+
* provide ems modules
1920

2021
1.0.2 2018-03-05
2122
==================
22-
- added the *visit.onComment* API, reported when comments are allowed.
23-
- added the *ParseErrorCode.InvalidCommentToken* enum value, reported when comments are disallowed.
23+
* added the *visit.onComment* API, reported when comments are allowed.
24+
* added the *ParseErrorCode.InvalidCommentToken* enum value, reported when comments are disallowed.
2425

2526
1.0.1
2627
==================
27-
- added the *format* API: computes edits to format a JSON document.
28-
- added the *modify* API: computes edits to insert, remove or replace a property or value in a JSON document.
29-
- added the *allyEdits* API: applies edits to a document
28+
* added the *format* API: computes edits to format a JSON document.
29+
* added the *modify* API: computes edits to insert, remove or replace a property or value in a JSON document.
30+
* added the *allyEdits* API: applies edits to a document
3031

3132
1.0.0
3233
==================

0 commit comments

Comments
 (0)