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.