pub fn validate(json: &str) -> Result<ValidationResult, String>Expand description
Run all validation passes on a JSON IR string.
Returns a ValidationResult containing all diagnostics from all passes.
The JSON string must be the Voce IR canonical JSON format.