I was thinking to myself how one would find the position of a JSON object in a JSON array through python
for example
{
"users": [
{
"person1": [
{
"money": 769967967456795806758905768494685798974560,
"name": "person1"
}
]
},
{
"person2": [
{
"money": 696969696969969696969696969,
"name": "person2"
}
]
}
]
}
For instance let's say I wanted to get the position of person 2 from the array in python so position 2
(I looked through websites and previous questions but couldn't figure it out)
(hello people from my last post :) )
If you need any extra materials posted please request it here