| 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 jsonFactory,
Object data) |
| Modifier and Type | Method and 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.getJsonFactory()
Returns the JSON factory.
|
JsonFactory |
JsonObjectParser.Builder.getJsonFactory()
Returns the JSON factory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GenericJson.setFactory(JsonFactory factory)
Sets the JSON factory or
null for none. |
| Constructor and Description |
|---|
Builder(JsonFactory jsonFactory) |
JsonObjectParser(JsonFactory 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 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 and Description |
|---|
Parser(JsonFactory jsonFactory) |
| Modifier and Type | Class and Description |
|---|---|
class |
MockJsonFactory
|
| Modifier and Type | Method and Description |
|---|---|
JsonFactory |
MockJsonGenerator.getFactory() |
JsonFactory |
MockJsonParser.getFactory() |
| Constructor and Description |
|---|
MockJsonParser(JsonFactory factory) |
Copyright © 2011–2025 Google. All rights reserved.