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

Method isJsonObject

src/main/java/com/google/gson/JsonElement.java:47–49  ·  view source on GitHub ↗

provides check for verifying if this element is a Json object or not. @return true if this element is of type JsonObject, false otherwise.

()

Source from the content-addressed store, hash-verified

45 * @return true if this element is of type {@link JsonObject}, false otherwise.
46 */
47 public boolean isJsonObject() {
48 return this instanceof JsonObject;
49 }
50
51 /**
52 * provides check for verifying if this element is a primitive or not.

Callers 15

testParseStringMethod · 0.95
testParseReaderMethod · 0.95
testToJsonTreeMethod · 0.95
getAsJsonObjectMethod · 0.95
serializeMethod · 0.95
deserializeMethod · 0.80
navigateMethod · 0.80
visitChildMethod · 0.80
visitObjectFieldMethod · 0.80

Calls

no outgoing calls

Tested by 5

testParseStringMethod · 0.76
testParseReaderMethod · 0.76
testToJsonTreeMethod · 0.76