So, its been a night. Trying to get some data saved for a project to a Firebase Database. Everything is going fine as far as writing is concerned, I've gotten that working several times! I can write a nice organized database, or json some data and wedge it in there, or a combo of the two... But no matter what I do I can't seem to get my variables to reliably come out of the same type they went in!
I've tried casting everything as a float, double and an int, I started off writing Json Data for most of the data with a few other bits elseware in the database, but I could never get the json to come back out parsed how I put it in... and every time I tried to edit it in code the need for {s and the like messed me up (yeah, I'm kinda dumb, I'm sure thats a workable problem for smart people...)
Anyway, halp, please? I'll share some of my horrible ass code if ya want, but I suspect I'm doing this so wrong it won't really matter.
TLDR, Got like 100+ numeric variables (I can make em whatever god darned type we want as long as their bloody implicitly whatever its called...), and a firebase database, how I make store/load? Yes, their in a serialized class(or three, I've done both this week).