Searched refs:JsonWriter (Results 1 – 9 of 9) sorted by relevance
22 import android.util.JsonWriter;41 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testWrongTopLevelType()52 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testTwoNames()65 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNameWithoutValue()78 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testValueWithoutName()90 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testMultipleTopLevelValues()102 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testBadNestingObject()115 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testBadNestingArray()128 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNullName()140 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNullStringValue()[all …]
126 public class JsonWriter implements Closeable { class151 public JsonWriter(Writer out) { in JsonWriter() method in JsonWriter182 public JsonWriter beginArray() throws IOException { in beginArray()191 public JsonWriter endArray() throws IOException { in endArray()201 public JsonWriter beginObject() throws IOException { in beginObject()210 public JsonWriter endObject() throws IOException { in endObject()218 private JsonWriter open(JsonScope empty, String openBracket) throws IOException { in open()229 private JsonWriter close(JsonScope empty, JsonScope nonempty, String closeBracket) in close()260 public JsonWriter name(String name) throws IOException { in name()275 public JsonWriter value(String value) throws IOException { in value()[all …]
123 public class NewlineDelimitedJsonWriter extends JsonWriter {
18 import android.util.JsonWriter;67 mJsonWriter = new JsonWriter(new FileWriter(tempJsonFile, true)); in open()
18 import android.util.JsonWriter;31 protected JsonWriter mJsonWriter = null;47 mJsonWriter = new JsonWriter(new OutputStreamWriter(out, StandardCharsets.UTF_8)); in open()
26 import android.util.JsonWriter;63 private JsonWriter mJsonWriter = null;
33 import android.util.JsonWriter;395 JsonWriter writer = in writeVideoMetaInfo()396 new JsonWriter( in writeVideoMetaInfo()
24 import android.util.JsonWriter;140 JsonWriter writer = in writeJSONToStream()141 new JsonWriter( in writeJSONToStream()
50001 public final class JsonWriter implements java.io.Closeable {50002 ctor public JsonWriter(java.io.Writer);50003 method public android.util.JsonWriter beginArray() throws java.io.IOException;50004 method public android.util.JsonWriter beginObject() throws java.io.IOException;50006 method public android.util.JsonWriter endArray() throws java.io.IOException;50007 method public android.util.JsonWriter endObject() throws java.io.IOException;50010 method public android.util.JsonWriter name(String) throws java.io.IOException;50011 method public android.util.JsonWriter nullValue() throws java.io.IOException;50014 method public android.util.JsonWriter value(String) throws java.io.IOException;50015 method public android.util.JsonWriter value(boolean) throws java.io.IOException;[all …]