Json format for firebase

hi, can anyone help me with firebase database??
so, my firebase not saving the data with json format, its saved in string. chat gpt says it has to be saved in json, so it can easly to get data. i’ve tried everything chat gpt says but nothing work, its still saved in string, i will upload the screenshot, it’s not important data, its just testing, so, i dont mind to share the data also, please help… i have been facing this problems few days but can’t work it out, any help is very appreciated…

Yes it is in json or dictionary format only. What is your problem?

my problem is why my firebase not save data like tree format, such as this screenshot

to be honest i am trying to make login page that goes to screen homepage, with the label of hello + username in homepage screen. but it end up with only hello, without username, i asked chatgpt it says i need to call data from firebase database, but data in firebase must saved in tree format like i show you in this screenshot, but my firebase saved in the string format, so, it cant call the username, that is what chatgpt says, i even dont know if its true or not… please advice me :slight_smile: thanks

You are showing the json in pretty print format. It is not possible in firebase but you can save it as tag and tag value only under the username bucket

If you get the above your firebase data and see in pretty print it will also look like tree format

okay thanks for the information, by the way, can you help me to check the event handler that i made already??? i dont know if the structure is alright or not, please :slight_smile:


this is login screen by the way, is it right already??? thanks for the help.