Uses of Class
com.azure.json.JsonReader
Packages that use JsonReader
Package
Description
The Azure JSON library provides interfaces for stream-style JSON reading and writing.
-
Uses of JsonReader in com.azure.json
Methods in com.azure.json that return JsonReaderModifier and TypeMethodDescriptionabstract JsonReader
JsonReader.bufferObject()
Reads and returns the current JSON object theJsonReader
is pointing to.JsonProvider.createReader
(byte[] json, JsonOptions options) Creates an instance ofJsonReader
that reads abyte[]
.JsonProvider.createReader
(InputStream json, JsonOptions options) Creates an instance ofJsonReader
that reads aInputStream
.JsonProvider.createReader
(Reader json, JsonOptions options) Creates an instance ofJsonReader
that reads aReader
.JsonProvider.createReader
(String json, JsonOptions options) Creates an instance ofJsonReader
that reads aString
.static JsonReader
JsonProviders.createReader
(byte[] json) Creates an instance ofJsonReader
that reads abyte[]
.static JsonReader
JsonProviders.createReader
(byte[] json, JsonOptions options) Creates an instance ofJsonReader
that reads abyte[]
.static JsonReader
JsonProviders.createReader
(InputStream json) Creates an instance ofJsonReader
that reads aInputStream
.static JsonReader
JsonProviders.createReader
(InputStream json, JsonOptions options) Creates an instance ofJsonReader
that reads aInputStream
.static JsonReader
JsonProviders.createReader
(Reader json) Creates an instance ofJsonReader
that reads aReader
.static JsonReader
JsonProviders.createReader
(Reader json, JsonOptions options) Creates an instance ofJsonReader
that reads aReader
.static JsonReader
JsonProviders.createReader
(String json) Creates an instance ofJsonReader
that reads aString
.static JsonReader
JsonProviders.createReader
(String json, JsonOptions options) Creates an instance ofJsonReader
that reads aString
.abstract JsonReader
JsonReader.reset()
Creates a newJsonReader
reset to the beginning of the JSON stream.Methods in com.azure.json with parameters of type JsonReaderModifier and TypeMethodDescriptionstatic <T extends JsonSerializable<T>>
TJsonSerializable.fromJson
(JsonReader jsonReader) Reads a JSON stream into an object.Method parameters in com.azure.json with type arguments of type JsonReaderModifier and TypeMethodDescriptionfinal <T> T
JsonReader.getNullable
(ReadValueCallback<JsonReader, T> nonNullGetter) Convenience method to read a nullable type.final <T> List<T>
JsonReader.readArray
(ReadValueCallback<JsonReader, T> elementReaderFunc) Reads a JSON array.JsonReader.readMap
(ReadValueCallback<JsonReader, T> valueReaderFunc) Reads a JSON map.final <T> T
JsonReader.readObject
(ReadValueCallback<JsonReader, T> objectReaderFunc) Reads a JSON object.