parseJSON2 method

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

Implementation

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