Skip to main content

parse_steps

Function parse_steps 

Source
pub fn parse_steps(defs: &[Value]) -> Result<StepChain, OversyncError>
Expand description

Parse a JSON array of step definitions into a StepChain.

Each element must be an object with a type field and step-specific parameters.

ยงSupported types

typeparams
renamefrom, to
setfield, value
upperfield
lowerfield
removefield
copyfrom, to
defaultfield, value
filterfield, op, value
map_valuefield, mapping
truncatefield, max_len
nestfields, into
flattenfield
hashfield
coalescefields, into