Unsure on this one - any help hugely appreciated!
Using ideally just an online converter, or if not perhaps a node package, I'm trying to convert a CSV file like this:
Cat,31.2,31.2
Dog,35,1
Tree,32.4
into this:
"myObj":{
"Cat":[
31.2,
31.2
],
"Dog":[
35,
1
],
"Tree":[
32.4
]
}
What I've tried
Have tried sites like this and this, but couldn't see how I could adapt them for my needs.
Thanks so much for any ideas on how to do this!