Skip to main content

json_expected_found

Function json_expected_found 

Source
pub fn json_expected_found(expected: &str, found: &Value) -> String
Expand description

expected <expected>, found <kind of found>, e.g. expected a JSON object, found an array.