-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
With the following expression the value of a sub key shall be changed. But by mistake the expression starts with a minus character:
-${params}[1]['B'][0]['C'] : 130,
This happens within the composite data structure:
"params" : [
11,
{"A" : 12,
"B" : [
{
"C" : 13,
-${params}[1]['B'][0]['C'] : 130,
The result is a parameter with name
-${params}[1]['B'][0]['C']
and value 130.
But expected is error message: The double quotes are missing.
Cross check: Using
-${params}[1]['B'][0]['C'] : 130,
outside "params".
Result:
Error: 'Invalid expression found: '-${params}[1]['B'][0]['C']' - The double quotes are missing!!!'!
This is like expected.