Skip to main content

execute_parse_json

Function execute_parse_json 

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

Execute parse_json: read the source value and store it under data.{target}. If the source is a JSON string, attempt to parse it; on failure, store the string as-is (matches prior behaviour).