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