What would be the best way to populate text views with information stored in a JSON file? Is there a way to access the data by the name of the fields?
For instance, I have this JSON file
{
"Weapons":
{
"Ranged":
[
{
"name": "Bow",
"desc" : "This is a bow"
},
{
"name": "Crossbow",
"desc" : "This is a crossbow"
}
]
}
}
Is it possible to access these object by their name and load in the description based on that name?