Function mozjs_sys::jsapi::JS::IsValidJSON
source ยท pub unsafe extern "C" fn IsValidJSON(
chars: *const Latin1Char,
len: u32,
) -> bool
Expand description
Returns true if the given text is valid JSON.
pub unsafe extern "C" fn IsValidJSON(
chars: *const Latin1Char,
len: u32,
) -> bool
Returns true if the given text is valid JSON.