I would like to grab the data from my Firebase snapshot and set it to variables in my Project. I get the data, but I don't know how to parse it so I can set them. I'm trying to do something like what SwiftyJSON does with API calls.
Here is my data structure in firebase: 
Here is my function: 
Here is the output in the console: 
Is there any way to parse and set values from the (ls) array and set the "fromId", "text", "toId" to different variables for each node?