Skip to main content

split_body_json_array

Function split_body_json_array 

Source
pub fn split_body_json_array() -> SplitExpression
Expand description

Split a JSON array body into one fragment per element.

Empty bodies and empty arrays pass through with zero fragments. Non-array JSON and wrong-type bodies return a CamelError::TypeConversionFailed naming the received body type and the expected json (array) input.