Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index a57fa88578b147c154b367bc8cd6631520dad8ed..e5bcd24bd7b7ff4238a5266ea038d3d2ad9c68e0 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -2779,7 +2779,7 @@ MaybeLocal<String> JSON::Stringify(Local<Context> context, |
? isolate->factory()->empty_string() |
: Utils::OpenHandle(*gap); |
i::Handle<i::Object> maybe; |
- has_pending_exception = !i::BasicJsonStringifier(isolate) |
+ has_pending_exception = !i::JsonStringifier(isolate) |
.Stringify(object, replacer, gap_string) |
.ToHandle(&maybe); |
RETURN_ON_FAILED_EXECUTION(String); |