Skip to main content

parse_remote_json

Function parse_remote_json 

Source
pub fn parse_remote_json<T: DeserializeOwned>(raw: &str) -> Result<T>
Expand description

Parse the first JSON object/array from remote captured output.

ยงErrors

Returns crate::HortoError when no JSON is found or deserialization fails.