Searched refs:JsonWriter (Results 1 – 5 of 5) sorted by relevance
25 import android.util.JsonWriter;31 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testWrongTopLevelType()41 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testTwoNames()53 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNameWithoutValue()65 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testValueWithoutName()76 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testMultipleTopLevelValues()87 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testBadNestingObject()99 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testBadNestingArray()111 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNullName()122 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNullStringValue()[all …]
120 public final class JsonWriter implements Closeable { class146 public JsonWriter(Writer out) { in JsonWriter() method in JsonWriter177 public JsonWriter beginArray() throws IOException { in beginArray()186 public JsonWriter endArray() throws IOException { in endArray()196 public JsonWriter beginObject() throws IOException { in beginObject()205 public JsonWriter endObject() throws IOException { in endObject()213 private JsonWriter open(JsonScope empty, String openBracket) throws IOException { in open()224 private JsonWriter close(JsonScope empty, JsonScope nonempty, String closeBracket) in close()259 public JsonWriter name(String name) throws IOException { in name()274 public JsonWriter value(String value) throws IOException { in value()[all …]
24 import android.util.JsonWriter;54 private JsonWriter mJsonWriter = null;157 mJsonWriter = new JsonWriter(new OutputStreamWriter(out, StandardCharsets.UTF_8)); in createJsonWriter()
34 import android.util.JsonWriter;348 JsonWriter writer = in writeVideoMetaInfo()349 new JsonWriter( in writeVideoMetaInfo()
24 import android.util.JsonWriter;135 JsonWriter writer = in writeJSONToStream()136 new JsonWriter( in writeJSONToStream()