pub fn parse_spec(json: &str) -> Result<VideoSpec, ComposeError>
Parses a spec from JSON, naming where an unparsable value lies.
Returns the place and the parser’s reason.