Function JSValueMakeFromJSONString

Source
pub unsafe extern "C" fn JSValueMakeFromJSONString(
    ctx: JSContextRef,
    string: JSStringRef,
) -> JSValueRef
Expand description

Creates a JavaScript value from a JSON formatted string.

  • ctx: The execution context to use.
  • string: The JSStringRef containing the JSON string to be parsed.

Returns a JSValueRef containing the parsed value, or NULL if the input is invalid.