pub fn validate_text(text: &str, registry: &Registry) -> ValidationExpand description
Parse, check and compile a JSON or YAML document, collecting every finding.
A prompt message that names a file is an error: see validate_text_with.
pub fn validate_text(text: &str, registry: &Registry) -> ValidationParse, check and compile a JSON or YAML document, collecting every finding.
A prompt message that names a file is an error: see validate_text_with.