Doc fix for JsonWriter.serializeNulls
This commit is contained in:
parent
e8a1eebb20
commit
04be7b8ec6
1 changed files with 2 additions and 2 deletions
|
@ -239,7 +239,7 @@ public class JsonWriter implements Closeable, Flushable {
|
|||
|
||||
/**
|
||||
* Sets whether object members are serialized when their value is null.
|
||||
* This has no impact on array elements. The default is true.
|
||||
* This has no impact on array elements. The default is false.
|
||||
*/
|
||||
public final void setSerializeNulls(boolean serializeNulls) {
|
||||
this.serializeNulls = serializeNulls;
|
||||
|
@ -247,7 +247,7 @@ public class JsonWriter implements Closeable, Flushable {
|
|||
|
||||
/**
|
||||
* Returns true if object members are serialized when their value is null.
|
||||
* This has no impact on array elements. The default is true.
|
||||
* This has no impact on array elements. The default is false.
|
||||
*/
|
||||
public final boolean getSerializeNulls() {
|
||||
return serializeNulls;
|
||||
|
|
Loading…
Reference in a new issue