Skip to content

#append

Returns a string or array made by appending one or more strings or arrays.

#append(value, ...values)
Category Strings and arraysValid in Property value
Name Type Description
value path | string | array The starting string or array.
values string | array One or more values to append.

string | array

source.json
{
"name": "Ada"
}
transformer.json
{
"result": "#append('Hello, ', #valueOf($.name), '!')"
}
output.json
{
"result": "Hello, Ada!"
}

Try it in the playground →

#joinWith