pub fn apply(root: &mut Value, cfg: &ShapeConfig) -> boolExpand description
Applies the active shaping to a serialized payload, in the documented order.
Handles both payload shapes this CLI emits: a bare top-level array (vps list,
sftp ls) and an envelope object wrapping a named collection (the batch events).
Missing the bare-array case would have left shaping inert on the most frequently
used commands.
Returns true when the payload was modified.