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
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
Hi,
I read a .js file that results in Bindings that have a nested key value
structure, e.g, key1: value1, value1 : [key2, key3, key4], key2: [value2,
value3], and etc. Bindings.get(Object) will only return key1..I cannot
chain multiple get calls and I don't see a method to get to say key2.. Am I
d