Package | Description |
---|---|
com.google.api.client.extensions.android.json |
Beta Low-level implementation of the GSON parser library built-in to the Android 3.0 SDK. |
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.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 | Class and Description |
---|---|
class |
AndroidJsonFactory
Beta Low-level JSON library implementation based on GSON. |
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 |
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 |
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 | Class and Description |
---|---|
class |
GsonFactory
Low-level JSON library implementation based on GSON.
|
Modifier and Type | Class and Description |
---|---|
class |
JacksonFactory
Low-level JSON library implementation based on Jackson 2.
|
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 | Method and Description |
---|---|
protected abstract JsonFactory |
AbstractJsonFactoryTest.newFactory() |
protected abstract JsonFactory |
AbstractJsonParserTest.newJsonFactory() |
Modifier and Type | Class and Description |
---|---|
class |
MockJsonFactory
|
Modifier and Type | Method and Description |
---|---|
JsonFactory |
MockJsonParser.getFactory() |
JsonFactory |
MockJsonGenerator.getFactory() |
Copyright © 2011–2020 Google. All rights reserved.