Reference a specific value in JSON output from Firebase query
I have a node that queries a firebase collection. it returns the results as a document body which is JSON formatted.
{
"Authentication": "Value",
"ConnectionID": "Value",
"Location": "LocationID"
}
I need to use the authentication value in the next node but do not know how to reference only the authentication value.
in javascript I would say {{ Nodename.data.authentication }}
How do I reference this?
I even tried some of the JSON nodes but still no luck.
{
"Authentication": "Value",
"ConnectionID": "Value",
"Location": "LocationID"
}
I need to use the authentication value in the next node but do not know how to reference only the authentication value.
in javascript I would say {{ Nodename.data.authentication }}
How do I reference this?
I even tried some of the JSON nodes but still no luck.
Solution
@xbommer07 It looks like you're outputting an array, so you may need to do
Nodename[0].data.authentication