Searched refs:JsonReader (Results 1 – 3 of 3) sorted by relevance
25 import android.util.JsonReader;33 JsonReader reader = new JsonReader(new StringReader("[true, true]")); in testReadArray()42 JsonReader reader = new JsonReader(new StringReader("[]")); in testReadEmptyArray()50 JsonReader reader = new JsonReader(new StringReader( in testReadObject()62 JsonReader reader = new JsonReader(new StringReader("{}")); in testReadEmptyObject()70 JsonReader reader = new JsonReader(new StringReader( in testSkipObject()82 JsonReader reader = new JsonReader(new StringReader("{}")); in testSkipBeforeEndOfObject()92 JsonReader reader = new JsonReader(new StringReader("[]")); in testSkipBeforeEndOfArray()102 JsonReader reader = new JsonReader(new StringReader("{}")); in testSkipAfterEndOfDocument()118 JsonReader reader = new JsonReader(new StringReader(json)); in testHelloWorld()[all …]
19 import com.android.json.stream.JsonReader;176 try (JsonReader jsonReader = new JsonReader(reader)) { in parse()189 private void readExpectation(JsonReader reader, ModeId mode) throws IOException { in readExpectation()253 private void readStrings(JsonReader reader, Set<String> output) throws IOException { in readStrings()261 private Set<ModeId> readModes(JsonReader reader) throws IOException { in readModes()
170 public final class JsonReader implements Closeable { class219 public JsonReader(Reader in) { in JsonReader() method in JsonReader