Page History
...
Use without quotes
Assumevar2
to hold the value:some value
Input $var2
Output some value
JSON "var": "$var$var2"
Use with double quotes
Assumevar2
to hold the value:some value
Input "$var2"
Output some value
JSON "var": "\"$var$var2\""
Use with constant values from double quoted values
Assumevar2
to hold the value:second value
Input "first value, $var2"
Output first value, second value
JSON "var": "\"first value, $var2\""
Use with string concatenation from double quoted values
Assumevar2
to hold the value:second value
Input "${var2}first value"
Output second valuefirst value
JSON "var": "\"${var2}first value\""
Use with constant values and single quoted values
Assumevar2
to hold the value:second value
Input "first, '$var2'"
Output first, 'second value'
JSON "var": "\"first, '$var$var2'\""
For variable names that include dots the name has to be specified within curly braces and has to be quoted with backticks.
Within backticks any characters can be used expect except for a backtick.Input ${`mail.smtp.host`}
Output mail.sos-berlin.com
JSON "var": "${`mail.smtp.host`}"
...