JsonReader

Class of android.util · JsonReader.java · Android's reference

public final class JsonReader implements java.io.Closeable

Reads one JSON value as a stream of tokens. Lenient mode takes what Android's does: comments, unquoted text.

Constructors

public JsonReader(Reader in) source

Methods

public void setLenient(boolean lenient) source
public boolean isLenient() source
public JsonToken peek() throws IOException source
public void beginArray() throws IOException source
public void endArray() throws IOException source
public void beginObject() throws IOException source
public void endObject() throws IOException source
public boolean hasNext() throws IOException source
public String nextName() throws IOException source
public String nextString() throws IOException source
public boolean nextBoolean() throws IOException source
public void nextNull() throws IOException source
public double nextDouble() throws IOException source
public long nextLong() throws IOException source
public int nextInt() throws IOException source
public void skipValue() throws IOException source
public void close() throws IOException source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.