JSValueMakeFromJSONString top-level property

JSValueRef Function(JSContextRef ctx, JSStringRef string) JSValueMakeFromJSONString
final

Creates a JavaScript value from a JSON formatted string. ctx The execution context to use. string The JSString containing the JSON string to be parsed. @result A JSValue containing the parsed value, or NULL if the input is invalid.

Implementation

final JSValueRef Function(JSContextRef ctx, JSStringRef string) JSValueMakeFromJSONString =
    jscLib.lookup<NativeFunction<JSValueRef Function(JSContextRef ctx, JSStringRef string)>>('JSValueMakeFromJSONString').asFunction();