Skip to content

Commit

Permalink
chore: Convert from JacksonFactory to GsonFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
Capstan committed Sep 27, 2022
1 parent 08ca8e5 commit 07a2edd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion datastore-v1-proto-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-jackson2</artifactId>
<artifactId>google-http-client-gson</artifactId>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import com.google.api.client.http.HttpRequest;
import com.google.api.client.http.HttpTransport;
import com.google.api.client.json.JsonFactory;
import com.google.api.client.json.jackson2.JacksonFactory;
import com.google.api.client.json.gson.GsonFactory;
import com.google.datastore.v1.ArrayValue;
import com.google.datastore.v1.CompositeFilter;
import com.google.datastore.v1.Entity;
Expand Down Expand Up @@ -138,7 +138,7 @@ private static HttpTransport newTransport() throws GeneralSecurityException, IOE
}

static JsonFactory newJsonFactory() {
return new JacksonFactory();
return new GsonFactory();
}

/**
Expand Down

0 comments on commit 07a2edd

Please sign in to comment.