Searched refs:JsonWriter (Results 1 – 5 of 5) sorted by relevance
29 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testWrongTopLevelType()39 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testTwoNames()51 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNameWithoutValue()63 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testValueWithoutName()74 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testMultipleTopLevelValues()85 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testBadNestingObject()97 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testBadNestingArray()109 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNullName()120 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNullStringValue()130 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNonFiniteDoubles()[all …]
120 public final class JsonWriter implements Closeable { class148 public JsonWriter(Writer out) { in JsonWriter() method in JsonWriter202 public JsonWriter beginArray() throws IOException { in beginArray()211 public JsonWriter endArray() throws IOException { in endArray()221 public JsonWriter beginObject() throws IOException { in beginObject()230 public JsonWriter endObject() throws IOException { in endObject()238 private JsonWriter open(JsonScope empty, String openBracket) throws IOException { in open()249 private JsonWriter close(JsonScope empty, JsonScope nonempty, String closeBracket) in close()284 public JsonWriter name(String name) throws IOException { in name()299 public JsonWriter value(String value) throws IOException { in value()[all …]
896 <p>New classes, {@link android.util.JsonReader} and {@link android.util.JsonWriter}, help you908 <p>You can create an instance of {@link android.util.JsonWriter} by calling its constructor and910 similar to the reader, using {@link android.util.JsonWriter#name name()} to add a property name911 and an appropriate {@link android.util.JsonWriter#value value()} method to add the respective
21332 public final class JsonWriter implements java.io.Closeable {21333 ctor public JsonWriter(java.io.Writer);21334 method public android.util.JsonWriter beginArray() throws java.io.IOException;21335 method public android.util.JsonWriter beginObject() throws java.io.IOException;21337 method public android.util.JsonWriter endArray() throws java.io.IOException;21338 method public android.util.JsonWriter endObject() throws java.io.IOException;21341 method public android.util.JsonWriter name(java.lang.String) throws java.io.IOException;21342 method public android.util.JsonWriter nullValue() throws java.io.IOException;21345 method public android.util.JsonWriter value(java.lang.String) throws java.io.IOException;21346 method public android.util.JsonWriter value(boolean) throws java.io.IOException;[all …]