Skip to content

Invalid nested parameter format (5) #136

@HolQue

Description

@HolQue

The JSON code (JPP_0503)

{
   "param1"  : [[[[1]]]],
   //
   "val1"    : ${param1}[0][0][0][0],
   "val2"    : "${param1}[0][0][0][0]",
   "val3"    : ${param1.0.0.0.0},
   "val4"    : "${param1.0.0.0.0}",
   //
   "lparam2" : [1],
   "lparam3" : [0,2],
   "lparam4" : [0,1,2],
   //
   "val5"    : ${lparam4}[${lparam3}[${lparam2}[0]]],
   "val6"    : "${lparam4}[${lparam3}[${lparam2}[0]]]"
}

causes the following error message:

'Invalid nested parameter format: ${lparam4}[${lparam3}[${lparam2}[0]]], - The double quotes are missing!!!'

But the format is not invalid. It's a single list parameter ${lparam4} with an index represented by nested other parameters [${lparam3}[${lparam2}[0]]].

Expected is:

{val5} [INT]  :  2
{val6} [STR]  :  '2'

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions