Skip to main content

parse_json_with_context

Function parse_json_with_context 

Source
pub fn parse_json_with_context<T: for<'de> Deserialize<'de>>(
    content: &str,
    context: &str,
) -> Result<T>
Expand description

Parse JSON with context for better error messages