Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 496 Bytes

README.adoc

File metadata and controls

18 lines (13 loc) · 496 Bytes

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();