// |reftest| shell-option(--enable-json-parse-with-source) skip-if(!JSON.hasOwnProperty('isRawJSON')||!xulRuntime.shell) -- json-parse-with-source is not enabled unconditionally, requires shell-options // Copyright (C) 2023 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file.
/*--- esid: sec-json.rawjson description: Basic functionality of JSON.rawJSON(). info: | JSON.rawJSON ( text )
1. Let jsonString be ? ToString(text). ... 4. Let internalSlotsList be « [[IsRawJSON]] ». 5. Let obj be OrdinaryObjectCreate(null, internalSlotsList). 6. Perform ! CreateDataPropertyOrThrow(obj, "rawJSON", jsonString). 7. Perform ! SetIntegrityLevel(obj, frozen). 8. Return obj.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.