Skip to main content

parse_items

Function parse_items 

Source
fn parse_items<T: DeserializeOwned>(
    body: &[u8],
) -> Result<Vec<T>, (String, String)>
Expand description

Parses per element so the message can name the offending index, which serde’s line and column cannot.