Skip to content

[ 2374932 ] Access to nested parameter failed #364

@HolQue

Description

@HolQue

The following JSON code is computed properly:

"strParam" : "ABC",
"param1"   : [1, {"001" : "${strParam}"}, 2]

Result:

DotDict({'strParam': 'ABC', 'param1': [1, DotDict({'001': 'ABC'}), 2]})

I add a third line to get access to key '001' (value is a substituted string):

"strParam" : "ABC",
"param1"   : [1, {"001" : "${strParam}"}, 2],
"param2"   : ${param1}[1]['001']

Result:

Error: 'Expecting ',' delimiter: line 3 column 31 (char 56)
Nearby: '... "strParam" : "ABC",\n    "param1" : [1, {"001" : ""${strParam}__Convert ...'

Expected is value "ABC".

The internal token string '__Convert ...' is not expected in error message.

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions