Skip to main content

parse_profiles_json

Function parse_profiles_json 

Source
pub fn parse_profiles_json(input: &str) -> Result<Vec<Profile>, DecodeError>
Expand description

Parse a JSON array of profile objects from the given string input.

§Errors

Returns DecodeError::Profile on invalid JSON, unknown encoding values, or numeric parse failures.