Tamper: Rewrite¶
Available since: 1.0.0
Rewrite a field using tokens.
Fields¶
Data to be tampered-
This field supports tokens. Result token name-
Provide a token name under which the tampered result will be made available for subsequent actions.
Replacement pattern-
- You can insert values using square brackets like
[fieldname](see replacement patterns below). - You can also use nested values such as
[author.name.first]or[address.street]. - If the input is an array, the plugin will apply the expression to each value.
- You can also use the special placeholder
{key}to insert the current array key. For example:[prices.{key}.amount].
- You can insert values using square brackets like
Available replacement patterns