If I have a multi-level json object like this:
{
employee : {
name : "Blah",
company : {
name : "Company"
}
}
}
I know I can access company name like employee.company.name, but is there a way to do this dynamically? Like I tried employee["company.name"] But that doesn't work. Basically if I have the string "company.name" I want to get that value in one call.