So here is the thing, I have a json file and inside of that I have an array, and inside of that I have another array.
This is how the json file looks.
{
"keys": [
{
"game": "Counter-Strike: Global Offensive",
"price": "5",
"listofkeys": ["5555w-55w12-2d131","231a1-213x1-31313"]
},
{
"game": "Crusader Kings II",
"price": "20",
"listofkeys": ["5555w-55w12-2d131","231a1-213x1-31313"]
}
]
}
My questions is, is it possible to do it? Is it possible for me to use this, and then later do something like this:
(filename.json).keys.listofkeys.length
Is it possible to do .length like that here to check how many arrays there are in "list of keys" ?????? I have tried it for myself, and it does not seem to be working. I need confirmation on this though before I continue. If someone could be so kind to answer :)
Thanks!
