JSValue.makeFromJSONString constructor

JSValue.makeFromJSONString(
  1. JSContext context,
  2. String string
)

Creates a JavaScript value from a JSON formatted string. string The JSString containing the JSON string to be parsed.

Implementation

JSValue.makeFromJSONString(this.context, String string)
    : this.pointer = JSValueRef.jSValueMakeFromJSONString(
          context.pointer, JSString.fromString(string).pointer);