Skip to main content

execute_parse_json

Function execute_parse_json 

Source
pub fn execute_parse_json(
    message: &mut Message,
    config: &ParseConfig,
) -> Result<(usize, Vec<Change>)>
Expand description

Execute parse_json operation.

Extracts JSON data from the source path and stores it in the target data field. This is typically used at the start of a workflow to load payload into context.

§Arguments

  • message - The message to process (modified in place)
  • config - Parse configuration specifying source and target

§Returns

  • Ok((200, changes)) - Success with list of changes for audit trail
  • Err - If configuration is invalid