coston / json-to-csv-export

A function to easily generate csv downloads of your json data. ✨
https://json-to-csv-export.coston.io
MIT License
83 stars 24 forks source link

File not showing zeros #28

Closed galdil closed 2 years ago

galdil commented 2 years ago

Hi ;] When i download a json with some zeros in it is seems as blank in the csv file.

example data:

[
    [
        "DATE",
        "UNITֹ SEEN",
        "ENGAGEMENT",
        "CONVERSION",
        "SUBSCRIBERS",
        "UNIT START",
        "EFFECTIVE CTR",
        "COMPLETION RATE",
        "ADDED TIME(min)"
    ],
    [
        "Jul 28, 2022",
        4762501,
        453675,
        0,
        3,
        362542,
        "7.61%",
        "6.85%",
        "0:0m"
    ],
]

I can make a pr for that

Thanks

coston commented 2 years ago

Thank you for contributing! The fix is published in v1.1.1