FlatFilers / csvjson-app

Online conversion and formatting tools for JSON, CSV and SQL.

Home Page:https://www.csvjson.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strips away leading and trailing whitespace

neildaniels opened this issue · comments

I would prefer if leading and trailing whitespace for cells was preserved in the output JSON.

https://www.csvjson.com/csv2json/55edc86f01277a9597dc67dc5ccc07fb

For an input of (note there is a space after the comma ,, and a space before/after and):

Key	en-us
TEXT_SERIES_SEPERATOR	, 
TEXT_SERIES_TWO_PART_CONJUNCTION_AND	 and 

I would expect output to be:

{
  "en-us": {
    "TEXT_SERIES_SEPERATOR": ", ",
    "TEXT_SERIES_TWO_PART_CONJUNCTION_AND": " and "
  }
}

but instead is

{
  "en-us": {
    "TEXT_SERIES_SEPERATOR": ",",
    "TEXT_SERIES_TWO_PART_CONJUNCTION_AND": "and"
  }
}