Skip to main content

parse_json_answer

Function parse_json_answer 

Source
pub fn parse_json_answer(answer: &str) -> Result<Value, String>
Expand description

Parse a model’s JSON answer tolerantly (fences, prose around the object).