pub fn from_json<T: DeserializeOwned>(json: &str) -> Result<T>
Deserialize a problem from a JSON string.