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

Method isJsonNull

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

provides check for verifying if this element represents a null value or not. @return true if this element is of type JsonNull, false otherwise. @since 1.2

()

Source from the content-addressed store, hash-verified

64 * @since 1.2
65 */
66 public boolean isJsonNull() {
67 return this instanceof JsonNull;
68 }
69
70 /**
71 * convenience method to get this element as a {@link JsonObject}. If the element is of some

Callers 15

deserializeMethod · 0.95
parseMethod · 0.95
getAsJsonNullMethod · 0.95
visitArrayMethod · 0.95
writeMethod · 0.95
deserializeMethod · 0.80
deserializeMethod · 0.80

Calls

no outgoing calls

Tested by 5

deserializeMethod · 0.76
deserializeMethod · 0.64