Append/Remove data plugin
This plugin adds or removes values in arrays.
Configuration
The following config:
{
"append": {
"[email protected]": "[email protected]",
"[email protected]": "[email protected]_list"
},
"remove": {
"[email protected]": "[email protected]"
}
}
Will:
- Append value from [email protected] to [email protected] list. If [email protected] is not an array, then new array will be created, with current value as the only element.
- Append all values from [email protected]_list to [email protected].
- Remove value of [email protected] from [email protected] list. If [email protected] was also an array, then all elements from [email protected] would be removed from [email protected].