I have this list where I want to store a name, and inside the name more itemlists with a name and amount, well you can see the rough outline below.
varx = [
{"Name1":
{
"itemList":
{
"item1":100,
"item2":100,
"item3":100,
"item4":100,
"item5":100
},
"otherStuff":
{
"stuff1":100,
"stuff2":100,
"stuff3":100,
}
},
"Name2":
{
"itemList":
{
"item1":100,
"item2":100,
"item3":100,
"item4":100,
"item5":100
},
"otherStuff":
{
"stuff1":100,
"stuff2":100,
"stuff3":100
}}}]
Assume there's "name1" through "name50", how would I add an item inside the itemlist of "name34" if all you knew were the "name34" and not it's index?