Skip to main content

parse_uuid_array_from_value

Function parse_uuid_array_from_value 

Source
pub fn parse_uuid_array_from_value(
    value: &Value,
    field_name: &str,
) -> Result<Vec<Uuid>, ClaimsError>
Expand description

Helper to parse an array of UUIDs from a JSON value.

ยงErrors

Returns ClaimsError::InvalidClaimFormat if the value is not an array of valid UUID strings.