Skip to main content

js_parse_error

Function js_parse_error 

Source
pub fn js_parse_error(text: &str) -> Option<String>
Expand description

The message of the error JavaScript’s JSON.parse throws for text, as V8 words it, or None when text is valid JSON.