(json: &str)
| 138 | } |
| 139 | |
| 140 | pub fn validate_with_level_json_str(json: &str) -> Result<String, serde_json::Error> { |
| 141 | let ans = validate_with_level(serde_json::from_str(json)?); |
| 142 | serde_json::to_string(&ans) |
| 143 | } |
| 144 | |
| 145 | pub fn validate_with_level(call: LevelValidationCall) -> ValidationAnswer { |
| 146 | match call.get_components() { |
no test coverage detected