Skip to content

Commit dd47446

Browse files
committed
Post #602 fix
1 parent 6f0069b commit dd47446

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

csv/src/main/java/tools/jackson/dataformat/csv/CsvParser.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ public JsonParser enable(CsvReadFeature f)
330330
_formatFeatures |= f.getMask();
331331
_cfgEmptyStringAsNull = CsvReadFeature.EMPTY_STRING_AS_NULL.enabledIn(_formatFeatures);
332332
_cfgEmptyUnquotedStringAsNull = CsvReadFeature.EMPTY_UNQUOTED_STRING_AS_NULL.enabledIn(_formatFeatures);
333+
_cfgOnlyUnquotedNullValuesAsNull = CsvReadFeature.ONLY_UNQUOTED_NULL_VALUES_AS_NULL.enabledIn(csvFeatures);
333334
return this;
334335
}
335336

@@ -342,6 +343,7 @@ public JsonParser disable(CsvReadFeature f)
342343
_formatFeatures &= ~f.getMask();
343344
_cfgEmptyStringAsNull = CsvReadFeature.EMPTY_STRING_AS_NULL.enabledIn(_formatFeatures);
344345
_cfgEmptyUnquotedStringAsNull = CsvReadFeature.EMPTY_UNQUOTED_STRING_AS_NULL.enabledIn(_formatFeatures);
346+
_cfgOnlyUnquotedNullValuesAsNull = CsvReadFeature.ONLY_UNQUOTED_NULL_VALUES_AS_NULL.enabledIn(csvFeatures);
345347
return this;
346348
}
347349

0 commit comments

Comments
 (0)