| 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.webtoken | |
| com.google.api.client.testing.json |
Beta
Testing utilities used for writing tests based on this library. |
| Modifier and Type | Method and Description |
|---|---|
JsonFactory |
JsonHttpContent.getJsonFactory()
Returns the JSON factory.
|
| Constructor and Description | |
|---|---|
JsonHttpContent(JsonFactory
|
| Modifier and Type | Method and Description |
|---|---|
abstract JsonFactory |
JsonParser.getFactory()
Returns the JSON factory from which this generator was created.
|
abstract JsonFactory |
JsonGenerator.getFactory()
Returns the JSON factory from which this generator was created.
|
JsonFactory |
GenericJson.getFactory()
Returns the JSON factory or
null for none.
|
JsonFactory |
JsonObjectParser.getJsonFactory()
Returns the JSON factory.
|
JsonFactory |
JsonObjectParser.Builder.getJsonFactory()
Returns the JSON factory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GenericJson.setFactory(JsonFactory
Sets the JSON factory or
null for none.
|
| Constructor and Description | |
|---|---|
Builder(JsonFactory
|
|
JsonObjectParser(JsonFactory
|
| Modifier and Type | Method and Description |
|---|---|
JsonFactory |
JsonWebSignature.Parser.getJsonFactory()
Returns the JSON factory.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonWebSignature |
JsonWebSignature.parse(JsonFactory
Parses the given JWS token string and returns the parsed
JsonWebSignature.
|
static JsonWebSignature |
JsonWebSignature.parser(JsonFactory
Returns a new instance of a JWS parser.
|
static String |
JsonWebSignature.signUsingRsaSha256(PrivateKey
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 and Description | |
|---|---|
Parser(JsonFactory
|
| Modifier and Type | Class and Description |
|---|---|
class |
MockJsonFactory
|
| Modifier and Type | Method and Description |
|---|---|
JsonFactory |
MockJsonParser.getFactory()
|
JsonFactory |
MockJsonGenerator.getFactory()
|