Menu

#52 Reads "" as null instead of empty string

Outstanding
closed
nobody
None
1
2015-01-23
2014-05-26
No

(original: https://sourceforge.net/p/supercsv/discussion/718795/thread/fa0fc03e/)

When provided with a quoted value the reader converts any empty string to null. This should be handled differently from having no value provided at all:

Return null:

col1;col2;col3
;;

Return empty string:

col1;col2;col3
"";"";""

Discussion

  • Kasper B. Graversen

    We could add an argument to the string processor for configuring this behaviour

     
  • James Bassett

    James Bassett - 2015-01-23
     
  • James Bassett

    James Bassett - 2015-01-23
    • status: open --> closed
     

Log in to post a comment.