Function mozjs::jsapi::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.