JSON-P JsonFactory

Implement Google JsonFactory using JSON-P.

License

License

Categories

Categories

JSON Data
GroupId

GroupId

com.github.rmannibucau
ArtifactId

ArtifactId

google-jsonp
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

jar
Description

Description

JSON-P JsonFactory
Implement Google JsonFactory using JSON-P.
Project URL

Project URL

https://github.com/rmannibucau/google-jsonp
Source Code Management

Source Code Management

https://github.com/rmannibucau/google-jsonp

Download google-jsonp

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.rmannibucau/google-jsonp/ -->
<dependency>
    <groupId>com.github.rmannibucau</groupId>
    <artifactId>google-jsonp</artifactId>
    <version>1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.rmannibucau/google-jsonp/
implementation 'com.github.rmannibucau:google-jsonp:1.0'
// https://jarcasting.com/artifacts/com.github.rmannibucau/google-jsonp/
implementation ("com.github.rmannibucau:google-jsonp:1.0")
'com.github.rmannibucau:google-jsonp:jar:1.0'
<dependency org="com.github.rmannibucau" name="google-jsonp" rev="1.0">
  <artifact name="google-jsonp" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.rmannibucau', module='google-jsonp', version='1.0')
)
libraryDependencies += "com.github.rmannibucau" % "google-jsonp" % "1.0"
[com.github.rmannibucau/google-jsonp "1.0"]

Dependencies

provided (2)

Group / Artifact Type Version
org.apache.geronimo.specs : geronimo-json_1.1_spec jar 1.1
com.google.http-client : google-http-client jar 1.25.0

test (2)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter pom 5.4.0
org.apache.johnzon : johnzon-core jar 1.1.11

Project Modules

There are no modules declared in this project.

Google JSON-P JsonFactory

Implements Google HTTP Client JsonFactory using JSON-P. This enables to drop Jackson when only present for that.

Example:

final JsonFactory jsonFactory = JsonpJsonFactory.of();

final GoogleCredential credential = GoogleCredential.fromStream(
  stream, httpTransport, jsonFactory);
final AnalyticsReporting reporting = new AnalyticsReporting.Builder(
    httpTransport, jsonFactory, credential)
  .setApplicationName("my-app").build();

Versions

Version
1.0