zemirco / json2csv

Convert json to csv with column titles
http://zemirco.github.io/json2csv
MIT License
2.71k stars 365 forks source link

Handling leading zeros for excel #176

Closed billyxs closed 6 years ago

billyxs commented 7 years ago

Is there a way to handle formatting for leading zeros in the manner outlined here https://stackoverflow.com/a/814194

Tried to find documentation that would allow this, but it wasn't clear if this is supported

knownasilya commented 7 years ago

It's not supported, but pull requests are welcome. You could format it yourself, see https://github.com/zemirco/json2csv#example-fields-option function form of value.

juanjoDiaz commented 6 years ago

The latest version of json2csv already does exactly as explained in https://stackoverflow.com/a/814194 so this can be closed.