Merry Christmas!
I think the best way to solve this is if you can debug on run-time just before the error happened to see what is the type assigned to the dynamic user
. This info will be very useful for you to determine how to extract the data you want.
But since, at least from the image, we can see the user
is an array, you should access it by first using the number index user[46]
before you can access its members (which contains vault_data
).
After that
- If the member is actually a
KeyValuePair
(KVP) with "vault_data"
being the key, you should try to give second index in key form user[46]["vault_data"]
to access the value.
- If it is not KVP, but a variable member, you can try to access it directly
user[46].vault_data
.
- If it is, in fact, another array, then you may need to access the access it by second index in number form
user[46][1]
(user[46][0]
being the vault_data
and thus user[46][1]
is the value you want to change).
- And if it is a
string
, then you need to further parse user[46]
In all possibilities, the key is to access the member first by indexing the user
array.