Glossary Term
JSON.isRawJSON()
The JSON.isRawJSON() static method tests whether a value is an object returned by JSON.rawJSON().
“Raw JSON” objects, when serialized to JSON, are treated as if they are already a piece of JSON. Furthermore, because of the way JSON.rawJSON() works, the raw JSON is guaranteed to be syntactically valid JSON. For more information on the shape and behavior of raw JSON objects, see JSON.rawJSON(). This method exists to allow other serialization libraries to implement similar behavior to JSON.stringify() for raw JSON objects.
Return value: true if value is created by JSON.rawJSON(); otherwise, false.
Syntax example: JSON.isRawJSON(value)
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
