Good day,
I am new in this place.
I recently exported all my user data from firebase and now I want to format the json file to filter only the relevant field I need for my data model.
The file I got on firebase is currently stored like this:
"Users": { "00uniqueuserid3": {
"1UserName": "Pusername",
"2Password": "password",
"3Email": "email@gmail.com",
"4City": "dubai"
}
}
The issue is that the json file got over 5,000 users and I cannot get possibly manual format them how I want them. Is there any javascript script or tool I can use to reformat all the data in the file, I would like to format them as such:
{"id": uniqueid , "name": name, "email": email, "city": city}
Via Active questions tagged javascript - Stack Overflow https://ift.tt/TF70WUq
Comments
Post a Comment