-
```
When parsing the following json with gson (using 2.2.2 from maven-central),
gson (fromJson) throws an:
JsonSyntaxException: "duplicate key: null"
whereby the json is created by gson (toJson) it…
-
```
What steps will reproduce the problem?
1. In Java class, define an attribute as List
private List Scores = new ArrayList();
2. If Score (ArrayList) is not populated or empty, while generating …
-
GSON is an awesome Java library that automatically maps POJO objects to JSON and provides automatic serialization/deserialization using the POJO's field names.
This could reduce the code footprint …
-
GSON is java library that doesn't work well with Kotlin.
I propose you to investigate Moshi or Kotlin serialization libraries for working with JSON instead.
-
```
What steps will reproduce the problem?
1. Look at user guide - no mention of Gson's thread safety
2. Look at Javadoc for the Gson class - no mention of Gson's thread safety
3. Search the site - no…
-
```
When parsing the following json with gson (using 2.2.2 from maven-central),
gson (fromJson) throws an:
JsonSyntaxException: "duplicate key: null"
whereby the json is created by gson (toJson) it…
-
```
What steps will reproduce the problem?
1. In Java class, define an attribute as List
private List Scores = new ArrayList();
2. If Score (ArrayList) is not populated or empty, while generating …
-
```
When parsing the following json with gson (using 2.2.2 from maven-central),
gson (fromJson) throws an:
JsonSyntaxException: "duplicate key: null"
whereby the json is created by gson (toJson) it…
-
```
What steps will reproduce the problem?
1. In Java class, define an attribute as List
private List Scores = new ArrayList();
2. If Score (ArrayList) is not populated or empty, while generating …
-
```
What steps will reproduce the problem?
1. Look at user guide - no mention of Gson's thread safety
2. Look at Javadoc for the Gson class - no mention of Gson's thread safety
3. Search the site - no…