Skip to main content

parse_spec

Function parse_spec 

Source
pub fn parse_spec(json: &str) -> Result<VideoSpec, ComposeError>
Expand description

Parses a spec from JSON, naming where a value that does not parse lies.

§Errors

Returns the place and the parser’s reason.