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

Method endObject

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

Ends encoding the current object. @return this writer.

()

Source from the content-addressed store, hash-verified

252 * @return this writer.
253 */
254 public JsonWriter endObject() throws IOException {
255 return close(JsonScope.EMPTY_OBJECT, JsonScope.NONEMPTY_OBJECT, "}");
256 }
257
258 /**
259 * Enters a new scope by appending any necessary whitespace and the given

Callers 10

testNameWithoutValueMethod · 0.95
testBadNestingArrayMethod · 0.95
testNullStringValueMethod · 0.95
testEmptyObjectMethod · 0.95
testObjectsInArraysMethod · 0.95
testArraysInObjectsMethod · 0.95
testRepeatedNameMethod · 0.95
testPrettyPrintObjectMethod · 0.95
testPrettyPrintArrayMethod · 0.95

Calls 1

closeMethod · 0.95

Tested by 10

testNameWithoutValueMethod · 0.76
testBadNestingArrayMethod · 0.76
testNullStringValueMethod · 0.76
testEmptyObjectMethod · 0.76
testObjectsInArraysMethod · 0.76
testArraysInObjectsMethod · 0.76
testRepeatedNameMethod · 0.76
testPrettyPrintObjectMethod · 0.76
testPrettyPrintArrayMethod · 0.76