Skip to main content

decode_string_output

Function decode_string_output 

Source
pub fn decode_string_output(output: &str) -> String
Expand description

Extract std_msgs/String.data from a tool’s JSON output. Accepts either raw text (returned verbatim) or {"data": "..."}.