Uploading JSON files to firebase from my computer.

922 views
Skip to first unread message

Riaan Zoetmulder

unread,
Sep 3, 2016, 11:01:51 AM9/3/16
to Firebase Google Group
Hello,

i am building an android app. For this app I want to build JSON objects with both text and images. Now I have been looking through the firebase documentation all day, however i couldn't find a way to directly upload a folder with different JSON files directly from my computer. Is there a way this could be done? 

Kind regards,


Riaan Zoetmulder

Frank van Puffelen

unread,
Sep 3, 2016, 11:07:35 AM9/3/16
to Firebase Google Group
Hey Riaan,

I usually upload static JSON with a small jsbin/jsfiddle. But if you don't feel like doing that, the Firebase CLI has support for uploading to the database too.

Something like this works too:

    firebase database:set /38671701 value.json

This will set the data at the given path to the contents of value.json.


     puf
Reply all
Reply to author
Forward
0 new messages