Uses of Class
com.azure.json.JsonReader
Package
Description
Contains general classes for handling JSON.
Contains general classes for GSON-based handling JSON.
-
Uses of JsonReader in com.azure.json
Modifier and TypeMethodDescriptionDefaultJsonReader.bufferObject()
abstract JsonReader
JsonReader.bufferObject()
Reads and returns the current JSON structure theJsonReader
is pointing to.static JsonReader
DefaultJsonReader.fromBytes
(byte[] json) Constructs an instance ofDefaultJsonReader
from abyte[]
.static JsonReader
DefaultJsonReader.fromStream
(InputStream json) Constructs an instance ofDefaultJsonReader
from anInputStream
.static JsonReader
DefaultJsonReader.fromString
(String json) Constructs an instance ofDefaultJsonReader
from a String.DefaultJsonReader.reset()
abstract JsonReader
JsonReader.reset()
Creates a newJsonReader
reset to the beginning of the JSON stream.Modifier and TypeMethodDescriptionstatic <T extends JsonSerializable<T>>
TJsonSerializable.fromJson
(JsonReader jsonReader) Reads a JSON stream into an object.Modifier and TypeMethodDescriptionfinal <T> T
JsonReader.getNullableValue
(Function<JsonReader, T> nonNullGetter) Convenience method to read a nullable type.final <T> List<T>
JsonReader.readArray
(Function<JsonReader, T> elementReaderFunc) Reads a JSON array.JsonReader.readMap
(Function<JsonReader, T> valueReaderFunc) Reads a JSON map.final <T> T
JsonReader.readObject
(Function<JsonReader, T> objectReaderFunc) Reads a JSON object. -
Uses of JsonReader in com.azure.json.gson
Modifier and TypeMethodDescriptionGsonJsonReader.bufferObject()
static JsonReader
GsonJsonReader.fromBytes
(byte[] json) Constructs an instance ofGsonJsonReader
from abyte[]
.static JsonReader
GsonJsonReader.fromStream
(InputStream json) Constructs an instance ofGsonJsonReader
from anInputStream
.static JsonReader
GsonJsonReader.fromString
(String json) Constructs an instance ofGsonJsonReader
from a String.GsonJsonReader.reset()