I am having problems with parsing data from JSON such as this
{
-KGWZ2x71KlTRF5JxLnh: {
condition: "clear sky",
date: "29 Apr 2016",
degree: "59.90360000000002",
latitude: "33.7932608",
longitude: "-118.1359034",
placeType: "Shopping Mall",
placeVisited: "Los Altos Mall",
time: "03:28",
uid: "2fe51b4a-60b9-42cf-a889-bb607a5ea9bd",
username: "kavit kaushal"
},
-KGWZ3g5KPVaRiB6BCli: {
condition: "clear sky",
date: "29 Apr 2016",
degree: "59.90360000000002",
latitude: "33.7932608",
longitude: "-118.1359034",
placeType: "Shopping Mall",
placeVisited: "Los Altos Mall",
time: "03:28",
uid: "2fe51b4a-60b9-42cf-a889-bb607a5ea9bd",
username: "kavit kaushal"
},
-KGYQfmdGEX5lsehJ1g8: {
condition: "overcast clouds",
date: "29 Apr 2016",
degree: "65.11999999999996",
latitude: "33.7933637",
longitude: "-118.135812",
placeType: "Shopping Mall",
placeVisited: "Los Altos Mall",
time: "12:11",
uid: "2fe51b4a-60b9-42cf-a889-bb607a5ea9bd",
username: "muktika bansal"
}
}
These nodes are generated when I use Firebase.push() method.Is there a way to get all the nodes and access the information. I am using java and developing a project on google app engine.