-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Several times in the past I wrote, that the expression on the right hand side of the colon
"param" : ${param1}${param2}
is a composite string and therefore must be encapsulated in quotes.
Now I am not sure any more. Most probably this statement is my mistake. Because there is no blank inside this expression.
Therefore the entire expression should be identified as one single word. Are quotes required in this case?
Pure JSON would require quotes, but in our extended JSONP format quotes are not required in case of dollar operator expressions are involved. But quotes are possible - and cause a string conversion of the value.
How do we want to handle expressions containing not only one single dollar operators but several operators - without blanks inside?
Shall there be a syntactical difference between param3 and param4 in the following example? Shall both be possible?
Or shall we keep the current implementation (in current implementation the param4 value is invalid because of the missing quotes)?
"param1" : 123,
"param2" : 4.56,
"param3" : "${param1}${param2}",
"param4" : ${param1}${param2}
Metadata
Metadata
Labels
Projects
Status