parseJSON method

JSValue parseJSON(
  1. String buf,
  2. int len,
  3. String filename, {
  4. bool autoDispose = true,
})

Implementation

JSValue parseJSON(
  String buf,
  int len,
  String filename, {
  bool autoDispose = true,
}) =>
    JSValue.ptr(
      this,
      JS_ParseJSON(_ref, buf.toNativeUtf8(), len, filename.toNativeUtf8()),
      autoDispose: autoDispose,
    );