Skip to main content

JS_ParseJSON

Function JS_ParseJSON 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_ParseJSON( ctx: *mut JsContext, buf: *const c_char, buf_len: usize, filename: *const c_char, ) -> JsValue
Expand description

JS_ParseJSON: parse buf_len bytes as JSON.

ยงSafety

buf must point at buf_len readable bytes; filename may be null.