Doc fix for JsonWriter.serializeNulls

This commit is contained in:
edwardaa 2015-10-03 15:20:59 +08:00
parent e8a1eebb20
commit 04be7b8ec6

View file

@ -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;