firebase-streaming-import
firebase-streaming-import copied to clipboard
import an arraylist of items
Thank you so much for providing such an awesome tool.
My issue is that the large json file I have consists of a list of jsons
[ {...} , {...} , {...} , {...} ]
And when I try to import this json file to Firebase using your tool, each item in the list gets the same key
["item" :{..}, "item" : {..}, "item" : {..} ]
instead of using indices
["0" : {..} , "1" : {..} , "2" : {..} ]
So, what happens when I use your tool is the first item in the array list gets created and then the tool just keeps changing the first item's values with values from the next item as it goes through the list
Hi techps,
Thank you for submitting your issue. I'm currently swamped with infrastructure work at Firebase, but I'll take a look at fixing this bug for you when I can. If you'd like to try to take a stab at it yourself, the code shouldn't be too complicated to fix (only 90 lines). And I accept pull requests.