I get a data from backend, the data is JSON format and nested,like
[{
a: {
b: {
c: 'value',
...
},
...
}
},....]
or maybe
[{
a: {
b: {
// no key 'c'
...
},
...
}
},....]
may also be
[{
a: {
// no key 'b'
...
}
},....]
I have to get 'a.b.c' safely, is there any good way to do it?
'a.b.c.d'?