pub fn validate_string_contents(
value: &str,
context: &str,
) -> Result<(), String>Expand description
Validate that a string contains no I-JSON forbidden noncharacters.
ยงErrors
Returns a description of the violation if the string contains a forbidden Unicode noncharacter (U+FDD0..U+FDEF, U+xFFFE, U+xFFFF).