You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-3
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,9 @@ This is a reference implementation, capable of parsing JSON5 data according to t
10
10
11
11
## Getting started
12
12
13
-
In order to use the code, you can either [download the jar](https://github.com/Synt4xErr0r4/json5/releases/download/2.0.0/json5-2.0.0.jar), or use the Maven dependency:
13
+
In order to use the code, you can either [download the jar](https://github.com/Synt4xErr0r4/json5/releases/download/2.1.0/json5-2.1.0.jar), or use the Maven dependency:
14
14
15
-
*Note:* Starting with version 2.0.0, the Maven dependency is now also available from [Maven Central](https://central.sonatype.com/artifact/at.syntaxerror/json5/2.0.0).
15
+
*Note:* Starting with version 2.0.0, the Maven dependency is now also available from [Maven Central](https://central.sonatype.com/artifact/at.syntaxerror/json5/2.1.0).
16
16
17
17
```xml
18
18
<!-- Repository -->
@@ -27,7 +27,7 @@ In order to use the code, you can either [download the jar](https://github.com/S
27
27
<dependency>
28
28
<groupId>at.syntaxerror</groupId>
29
29
<artifactId>json5</artifactId>
30
-
<version>2.0.0</version>
30
+
<version>2.1.0</version>
31
31
</dependency>
32
32
```
33
33
@@ -259,6 +259,14 @@ When the behavior is `DUPLICATE`, the snippet above is effectively equal to the
259
259
260
260
Note regarding digit separators: Digit separators may neither occur next to each other, nor at the beginning nor the end of a literal. They can also be used within binary/octal/hexadecimal and hexadecimal floating-point literals.
261
261
262
+
### v2.1.0
263
+
264
+
-`JSONObject`s now store entries in the order they were added ([#7](https://github.com/Synt4xErr0r4/json5/issues/7))
- if `true`, trailing data after a JSON object or array (e.g. `abc` in `{ }abc`) will be ignored
267
+
- otherwise, an exception will be thrown
268
+
- various small improvements ([#7](https://github.com/Synt4xErr0r4/json5/issues/7), [#8](https://github.com/Synt4xErr0r4/json5/issues/8), [#9](https://github.com/Synt4xErr0r4/json5/issues/9))
269
+
262
270
## Documentation
263
271
264
272
The JavaDoc for the latest version can be found [here](https://javadoc.syntaxerror.at/json5/latest).
0 commit comments