| Package | Description |
|---|---|
| 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.testing.json |
Beta Testing utilities used for writing tests based on this library. |
| Modifier and Type | Method | Description |
|---|---|---|
abstract JsonParser |
JsonFactory.createJsonParser(InputStream in) |
Returns a new instance of a low-level JSON parser for the given input stream.
|
abstract JsonParser |
JsonFactory.createJsonParser(InputStream in,
Charset charset) |
Returns a new instance of a low-level JSON parser for the given input stream.
|
abstract JsonParser |
JsonFactory.createJsonParser(Reader reader) |
Returns a new instance of a low-level JSON parser for the given reader.
|
abstract JsonParser |
JsonFactory.createJsonParser(String value) |
Returns a new instance of a low-level JSON parser for the given string value.
|
abstract JsonParser |
JsonParser.skipChildren() |
Skips to the matching
JsonToken.END_ARRAY if current token is
JsonToken.START_ARRAY, the matching JsonToken.END_OBJECT if the current token
is JsonToken.START_OBJECT, else does nothing. |
| Modifier and Type | Method | Description |
|---|---|---|
JsonParser |
GsonFactory.createJsonParser(InputStream in) |
|
JsonParser |
GsonFactory.createJsonParser(InputStream in,
Charset charset) |
|
JsonParser |
GsonFactory.createJsonParser(Reader reader) |
|
JsonParser |
GsonFactory.createJsonParser(String value) |
| Modifier and Type | Method | Description |
|---|---|---|
JsonParser |
JacksonFactory.createJsonParser(InputStream in) |
|
JsonParser |
JacksonFactory.createJsonParser(InputStream in,
Charset charset) |
|
JsonParser |
JacksonFactory.createJsonParser(Reader reader) |
|
JsonParser |
JacksonFactory.createJsonParser(String value) |
| Modifier and Type | Method | Description |
|---|---|---|
JsonParser |
JacksonFactory.createJsonParser(InputStream in) |
|
JsonParser |
JacksonFactory.createJsonParser(InputStream in,
Charset charset) |
|
JsonParser |
JacksonFactory.createJsonParser(Reader reader) |
|
JsonParser |
JacksonFactory.createJsonParser(String value) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
MockJsonParser |
| Modifier and Type | Method | Description |
|---|---|---|
JsonParser |
MockJsonFactory.createJsonParser(InputStream in) |
|
JsonParser |
MockJsonFactory.createJsonParser(InputStream in,
Charset charset) |
|
JsonParser |
MockJsonFactory.createJsonParser(Reader reader) |
|
JsonParser |
MockJsonFactory.createJsonParser(String value) |
|
JsonParser |
MockJsonParser.skipChildren() |
Copyright © 2011–2019 Google. All rights reserved.