Fields
Pattern
Required. The dot-notated source path of the data to copy. Use* to match all items in an array. Each * becomes a numbered capture group that can be referenced in the replacement as $1, $2, etc.
product.name— copies a single value.products.*.name— copies thenameof every product;$1holds the array index.products.*.categories.*— two wildcards;$1is the product index,$2is the category index.
Replacement
Required. The dot-notated destination path where the copied data is written. Use$1, $2, etc. to reference capture groups from * in the source pattern.
product_name— fixed destination.product_names.$1— writes each copied value to its own index.
Conditions
Optional. Only copy the data when a condition is met.Sample data
Pattern:product.name
Replacement: product_name
Input:
Pattern:
products.*.name
Replacement: product_names.$1
Input: