JSValueMakeFromJSONString top-level property
Creates a JavaScript value from a JSON formatted string.
ctx (JSContextRef) The execution context to use.
string (JSStringRef) The JSString containing the JSON string to be parsed.
@result (JSValueRef) A JSValue containing the parsed value, or NULL if the input is invalid.
Implementation
final JSValueRef Function(JSContextRef ctx, JSStringRef string)
JSValueMakeFromJSONString =
kLookup<NativeFunction<JSValueRef Function(JSContextRef, JSStringRef)>>(
'JSValueMakeFromJSONString',
).asFunction();