Skip to content

Commit

Permalink
update gson to 2.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
esaulpaugh committed Nov 25, 2019
1 parent ff1b877 commit 1f119cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ repositories {
}

dependencies {
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.google.code.gson:gson:2.8.6'

test.useJUnitPlatform()

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.5</version>
<version>2.8.6</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
public final class JsonUtils {

public static JsonElement parse(String json) {
return new JsonParser().parse(json);
return JsonParser.parseString(json);
}

public static JsonObject parseObject(String json) {
Expand Down

0 comments on commit 1f119cd

Please sign in to comment.