chamkank / hone

Convert CSV to automatically nested JSON
MIT License
132 stars 32 forks source link

Conversion tool scope #3

Open ecgcoop opened 6 years ago

ecgcoop commented 6 years ago

Hi. Congrats for your work. Do you think that it will be possible to use your conversion tool with our attached firebase json file configuration? Thanks. Manuel

example.txt

chamkank commented 6 years ago

Hi there! The file you've attached seems to be a JSON file. This tool only converts CSV to JSON, and automatically picks the schema/structure/configuration.

Please let me know if you have any specific questions.

ecgcoop commented 6 years ago

Hi. Thanks for your reply. Yes, I know that your tool only converts CSV to JSON. My question was if is it possible to generate a JSON file with that structure from a CSV file that, for sure, we also need to create/structure. Thank you, in advance, for your kind attention. Kind regards, Manuel

chamkank commented 6 years ago

Ah okay, sorry for misinterpreting. It's not possible to generate a JSON file automatically with that structure from a CSV file because you have JSON arrays as values in your example (ex: openHours, annotations, days).