add forceTextStrings option to give csv readers a hint to text fields#114
add forceTextStrings option to give csv readers a hint to text fields#114patrickdk77 wants to merge 1 commit intokaue:masterfrom
Conversation
… vs numeric fields
|
Hi @patrickdk77 Thanks a lot for this contribution! =) For example, you could write a handle function to convert all object types to string: This also gives more control, like only do this for Numbers. Did you try using the |
|
i dont understand how this would enforce a text field ia quoted and a number field is not. it can control the data in the field but i dont see how this xontrols the use of quotes for the field |
|
If I am reading it right, the parseObject code reads the json and writes the csv values |
Status
READY
Description
Quotes string fields so that when importing the csv, it can automatically detect text columns vs numeric columns.
This helps a lot with having working sort column on version numbers where 3.1 and 3.11 are not numbers but strings