JSONStringify method

JSValue JSONStringify(
  1. JSValue obj, {
  2. JSValue? replacer,
  3. JSValue? space0,
  4. bool autoDispose = true,
})

Implementation

JSValue JSONStringify(
  JSValue obj, {
  JSValue? replacer,
  JSValue? space0,
  bool autoDispose = true,
}) =>
    JSValue.ptr(
      this,
      JS_JSONStringify(
        _ref,
        obj.ref.ref,
        replacer?.ref.ref ?? JSValue.alloc(this, JSTag.NULL).ref.ref,
        replacer?.ref.ref ?? JSValue.alloc(this, JSTag.NULL).ref.ref,
      ),
      autoDispose: autoDispose,
    );