Answer the question
In order to leave comments, you need to log in
How to fetch values from JSON array?
How to select from JSON array. I tried array[0] but it returns undefined.
In this case, the array itself:
{
"197892920": {
"balance": "0.00",
"banned": false,
"admin": false
},
"225750107": {
"balance": "950.00",
"banned": false,
"admin": false
},
"321223555": {
"balance": 1000,
"banned": false,
"admin": false
},
"458132521": {
"balance": "0.00",
"banned": false,
"admin": false
},
"532334365": {
"balance": 1000,
"banned": false,
"admin": false
},
"535271173": {
"balance": 1000,
"banned": false,
"admin": false
},
"546674311": {
"balance": 500,
"banned": false,
"admin": 1
},
"582877546": {
"balance": 1000,
"banned": false,
"admin": false
},
"586589172": {
"balance": 1000,
"banned": false,
"admin": false
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question