I'm developing a mobile game project that utilizes Firebase. I've managed to get login/registration, and sending items to the database to work just fine. However, after countless hours of banging my head against the wall, I just can't get the inventory to work. I can fetch the correct JSON data from the database, and it comes out in the following format:
{"5449000085757":{"itemLevel":82,"itemName":"Sword of Maximum Epicness","itemType":""},"6419800152996":{"itemLevel":45,"itemName":"Your Average Sword","itemType":""}}
These are all just fields for testing purposes of course. What I'm trying to do is create a list of objects, where the list is the "inventory" and the objects are the items. I've tried using Json.NET, Unity's built-in JSON utilities, all kinds of technologies, but just can't find a way. I feel kind of stupid, because obviously it can't be this difficult. No matter what example I've tried, it doesn't work.
If possible, could someone provide a quick briefing on how to create that list of objects from JSON, a simple way? I just can't figure this out on my own and it's getting really frustrating.