Function mozjs::jsapi::JS::IsValidJSON

source ยท
pub unsafe extern "C" fn IsValidJSON(
    chars: *const u8,
    len: u32,
) -> bool
Expand description

Returns true if the given text is valid JSON.