pub fn validate_json(text: &str) -> Result<(), JsonError>
Checks that text is one JSON value (with blank space around it).
text