Function parse_and_validate
Source pub fn parse_and_validate(json: &str) -> Result<Rotation>
Expand description
Parse a JSON string into a Rotation and validate it.
ยงErrors
Returns an error for invalid JSON, unsupported versions, or failed structural validation.