// Copyright 2016 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/builtins/builtins-utils-inl.h" #include "src/builtins/builtins.h" #include "src/json/json-parser.h" #include "src/json/json-stringifier.h" #include "src/logging/counters.h" #include "src/objects/js-raw-json.h" #include "src/objects/objects-inl.h" namespace v8 { namespace internal { // ES6 section 24.3.1 JSON.parse. BUILTIN(JsonParse) { … } // ES6 section 24.3.2 JSON.stringify. BUILTIN(JsonStringify) { … } // https://tc39.es/proposal-json-parse-with-source/#sec-json.rawjson BUILTIN(JsonRawJson) { … } // https://tc39.es/proposal-json-parse-with-source/#sec-json.israwjson BUILTIN(JsonIsRawJson) { … } } // namespace internal } // namespace v8