Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/google/gson
/ nullValue
Method
nullValue
src/main/java/com/google/gson/stream/JsonWriter.java:337–341 ·
view source on GitHub ↗
Encodes null. @return this writer.
()
Source
from the content-addressed store, hash-verified
335
* @
return
this writer.
336
*/
337
public
JsonWriter nullValue() throws IOException {
338
beforeValue(false);
339
out.write(
"null"
);
340
return
this;
341
}
342
343
/**
344
* Encodes {@code value}.
Callers
5
testNulls
Method · 0.95
testPrettyPrintArray
Method · 0.95
value
Method · 0.95
testPrettyPrintObject
Method · 0.80
write
Method · 0.80
Calls
2
beforeValue
Method · 0.95
write
Method · 0.45
Tested by
3
testNulls
Method · 0.76
testPrettyPrintArray
Method · 0.76
testPrettyPrintObject
Method · 0.64