I'm not quite sure what my problem is here.
This is my json:
user = {
userdata: {
name: "Test"
}
}
And while user.userdata.name returns Test, user["userdata.name"] returns undefined.
Also user["userdata"] is returning the userdata json just as well. And user["userdata"]["name"] is also returning Test.
I'm using the same method on another json, but not searching to deep. just for userdata. and there is works just fine...
=operator, because it's not a programming language). If you're in JavaScript source code, and not talking about the contents of a string, it's not JSON.user["userdata"]["name"].