pub fn job_from_json(value: &Value) -> Result<Job, String>Expand description
Parses one job line, the inverse of job_to_json.
ยงErrors
A message naming the first field that was missing or the wrong type. Helpers report this rather than guessing: a job decoded with a defaulted command is a job that tests something other than what was asked, and the verdict would still be index-aligned and therefore believed.