Package | Description |
---|---|
com.google.api.client.http.json |
JSON HTTP library based on the pluggable HTTP library.
|
com.google.api.client.json |
Utilities for JSON as specified in RFC 4627: The
application/json Media Type for JavaScript Object Notation (JSON) and Introducing JSON.
|
com.google.api.client.json.gson |
Low-level implementation of the GSON parser library based on the GSON JSON library.
|
com.google.api.client.json.jackson |
Low-level implementation of the JSON parser library based on the Jackson JSON library.
|
com.google.api.client.json.jackson2 |
Low-level implementation of the JSON parser library based on the Jackson 2 JSON library.
|
com.google.api.client.json.webtoken | |
com.google.api.client.test.json |
Classes used for testing of JSON library implementations.
|
com.google.api.client.testing.json |
Beta Testing utilities used for writing tests based on this library. |
Modifier and Type | Method | Description |
---|---|---|
JsonFactory |
JsonHttpContent.getJsonFactory() |
Returns the JSON factory.
|
Constructor | Description |
---|---|
JsonHttpContent(JsonFactory jsonFactory,
Object data) |
Modifier and Type | Method | Description |
---|---|---|
JsonFactory |
GenericJson.getFactory() |
Returns the JSON factory or
null for none. |
abstract JsonFactory |
JsonGenerator.getFactory() |
Returns the JSON factory from which this generator was created.
|
abstract JsonFactory |
JsonParser.getFactory() |
Returns the JSON factory from which this generator was created.
|
JsonFactory |
JsonObjectParser.Builder.getJsonFactory() |
Returns the JSON factory.
|
JsonFactory |
JsonObjectParser.getJsonFactory() |
Returns the JSON factory.
|
Modifier and Type | Method | Description |
---|---|---|
void |
GenericJson.setFactory(JsonFactory factory) |
Sets the JSON factory or
null for none. |
Constructor | Description |
---|---|
Builder(JsonFactory jsonFactory) |
|
JsonObjectParser(JsonFactory jsonFactory) |
Modifier and Type | Class | Description |
---|---|---|
class |
GsonFactory |
Low-level JSON library implementation based on GSON.
|
Modifier and Type | Class | Description |
---|---|---|
class |
JacksonFactory |
Low-level JSON library implementation based on Jackson.
|
Modifier and Type | Class | Description |
---|---|---|
class |
JacksonFactory |
Low-level JSON library implementation based on Jackson 2.
|
Modifier and Type | Method | Description |
---|---|---|
JsonFactory |
JsonWebSignature.Parser.getJsonFactory() |
Returns the JSON factory.
|
Modifier and Type | Method | Description |
---|---|---|
static JsonWebSignature |
JsonWebSignature.parse(JsonFactory jsonFactory,
String tokenString) |
Parses the given JWS token string and returns the parsed
JsonWebSignature . |
static JsonWebSignature.Parser |
JsonWebSignature.parser(JsonFactory jsonFactory) |
Returns a new instance of a JWS parser.
|
static String |
JsonWebSignature.signUsingRsaSha256(PrivateKey privateKey,
JsonFactory jsonFactory,
JsonWebSignature.Header header,
JsonWebToken.Payload payload) |
Signs a given JWS header and payload based on the given private key using RSA and SHA-256 as
described in JWS using
RSA SHA-256.
|
Constructor | Description |
---|---|
Parser(JsonFactory jsonFactory) |
Modifier and Type | Method | Description |
---|---|---|
protected abstract JsonFactory |
AbstractJsonFactoryTest.newFactory() |
Modifier and Type | Class | Description |
---|---|---|
class |
MockJsonFactory |
Modifier and Type | Method | Description |
---|---|---|
JsonFactory |
MockJsonGenerator.getFactory() |
|
JsonFactory |
MockJsonParser.getFactory() |
Copyright © 2011–2019 Google. All rights reserved.