MCPcopy Index your code
hub / github.com/google/gson / endArray

Method endArray

src/main/java/com/google/gson/stream/JsonWriter.java:235–237  ·  view source on GitHub ↗

Ends encoding the current array. @return this writer.

()

Source from the content-addressed store, hash-verified

233 * @return this writer.
234 */
235 public JsonWriter endArray() throws IOException {
236 return close(JsonScope.EMPTY_ARRAY, JsonScope.NONEMPTY_ARRAY, "]");
237 }
238
239 /**
240 * Begins encoding a new object. Each call to this method must be paired

Callers 15

testWriteClosedMethod · 0.95
testBadNestingObjectMethod · 0.95
testDoublesMethod · 0.95
testLongsMethod · 0.95
testNumbersMethod · 0.95
testBooleansMethod · 0.95
testNullsMethod · 0.95
testStringsMethod · 0.95
testEmptyArrayMethod · 0.95
testObjectsInArraysMethod · 0.95
testArraysInObjectsMethod · 0.95

Calls 1

closeMethod · 0.95

Tested by 15

testWriteClosedMethod · 0.76
testBadNestingObjectMethod · 0.76
testDoublesMethod · 0.76
testLongsMethod · 0.76
testNumbersMethod · 0.76
testBooleansMethod · 0.76
testNullsMethod · 0.76
testStringsMethod · 0.76
testEmptyArrayMethod · 0.76
testObjectsInArraysMethod · 0.76
testArraysInObjectsMethod · 0.76