Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for JSON.isRawJSON().
Encyclopedia 1
ECMAScript version history
serialized objects into other objects, access to the input source text in the form of a parse node. Add JSON.rawJSON , which generates the parse node, and JSON.isRawJSON . Extend JSON.stringify to use the rawJSON record when available, allowing round-tripping of JSON data. Iterator sequencing: Iterator.concat( ...items ) , which concatenates iterators. Uint8Array to/from base64 and hex. Math.sumPrecise , a correctly-
Developer library 5
Firefox 135 release notes for developers
](/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#the_reviver_parameter): Provides access to the original JSON source text that was parsed. - [`JSON.isRawJSON()`](/docs/Web/JavaScript/Reference/Global_Objects/JSON/isRawJSON): Tests whether a value is an object returned by `JSON.rawJSON()`. - [`JSON.rawJSON()`](/docs/Web/JavaScript/Reference/Global_Objects/JSON/rawJSON): Creates a "raw JSON" object contai
Firefox 132 release notes for developers
](/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#the_reviver_parameter): Provides access to the original JSON source text that was parsed. - [`JSON.isRawJSON()`](/docs/Web/JavaScript/Reference/Global_Objects/JSON/isRawJSON): Tests whether a value is an object returned by `JSON.rawJSON()`. - [`JSON.rawJSON()`](/docs/Web/JavaScript/Reference/Global_Objects/JSON/rawJSON): Creates a "raw JSON" object contai
JSON
/Reference/Global_Objects/Symbol/toStringTag) property is the string `"JSON"`. This property is used in Object.prototype.toString(). ## Static methods - JSON.isRawJSON() - : Tests whether a value is an object returned by JSON.rawJSON(). - JSON.parse() - : Parse a piece of string text as JSON, optionally transforming the produced value and its properties, and return the value. - JSON.rawJSON() - : Creates a "r
JSON.isRawJSON()
The **`JSON.isRawJSON()`** static method tests whether a value is an object returned by JSON.rawJSON(). ## Syntax ```js-nolint JSON.isRawJSON(value) ``` ### Parameters - `value` - : The value to test. ### Return value `true` if `value` is created by JSON.rawJSON(); otherwise, `false`. ## Description "Raw JSON" objects, when serialized to JSON, are treated as if they are already a piece of JSON. Furthermore,
JSON.rawJSON()
](/docs/Web/JavaScript/Reference/Classes/Private_elements) that marks itself as a raw JSON object. This allows it to be identified by JSON.stringify() and JSON.isRawJSON(). ### Exceptions - SyntaxError - : Thrown if the `string` is not valid JSON, or if it represents an object or array. ## Description A raw JSON object can be seen as an immutable, atomic data structure like any kind of [primitive](/docs/Web/Jav