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.testing.json |
Beta Testing utilities used for writing tests based on this library. |
Modifier and Type | Method and 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 | Class and Description |
---|---|
class |
MockJsonParser
|
Modifier and Type | Method and 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–2021 Google. All rights reserved.