-
Notifications
You must be signed in to change notification settings - Fork 2
Description
The JSON code
{
"ara" : "ara",
"param" : 123,
"val1" : ${p${ara}m}
}
causes the following error message:
'Invalid nested parameter format: ${p${ara}m}, - The double quotes are missing!!!'
Now I am thinking about. Because my first idea was was to get a parameter with name 'val1' and value 123 (int!).
Because I want to keep the data type, I did not encapsulate the expression in quotes. This expression ${p${ara}m} is not a composite string (that really would require quotes), it's a name of a single parameter, realized by nested other parameters.
When I read the error message, it seems to me, that the ${} substitution inside expressions only works if the expression is encapsulated in quotes.
But when I do it in this way:
"val1" : "${p${ara}m}"
I get a string value '123'. This is not what I want. I want an integer.
Could you please clarify: Is this format (nested parameters without quotes)
"val1" : ${p${ara}m}
really invalid or is it possible to enable this format to have a chance to work also with other data types like strings?
Metadata
Metadata
Assignees
Labels
Projects
Status