Function javascriptcore_sys::JSValueMakeFromJSONString
[−]
[src]
pub unsafe extern "C" fn JSValueMakeFromJSONString(
ctx: JSContextRef,
string: JSStringRef
) -> JSValueRef
Creates a JavaScript value from a JSON formatted string.
ctx: The execution context to use.string: TheJSStringcontaining the JSON string to be parsed.
Returns a JSValue containing the parsed value, or NULL if the input is invalid.