Re: nested key in bindings

2016-09-21 Thread Murat Cetin
adding the group On Wed, Sep 21, 2016 at 11:53 AM, Murat Cetin wrote: > Thanks João. I've realized that Bindings is a Map but its values are not > defined as Map, so just casting the first get's return to Map and then > chaining with a second get as in ((Map)(bindings.get(key1)).get(key2) > work

Re: nested key in bindings

2016-09-21 Thread João Paulo Varandas
Hi Murat. For a structure like this: var obj = { "key1": { "key2" : { "key3": "value1-2-3" } } } Simple answer: The get call support flat structures. b.get("obj.key1.key2.key3") will return null ... But ... Long answer: If you are in JavaScript, you can evaluate this with the syntax: var val