esnext.json.is-raw-json.js 399 B

12345678910
  1. var $ = require('../internals/export');
  2. var NATIVE_RAW_JSON = require('../internals/native-raw-json');
  3. var isRawJSON = require('../internals/is-raw-json');
  4. // `JSON.parse` method
  5. // https://tc39.es/proposal-json-parse-with-source/#sec-json.israwjson
  6. // https://github.com/tc39/proposal-json-parse-with-source
  7. $({ target: 'JSON', stat: true, forced: !NATIVE_RAW_JSON }, {
  8. isRawJSON: isRawJSON
  9. });