mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs(api): document that JSHandle.jsonValue might return error/blank (#1118)
This commit is contained in:
parent
9603bab0c7
commit
c9e1a2de4e
@ -1686,7 +1686,7 @@ Returns a JSON representation of the object. If the object has a
|
||||
[`toJSON`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#toJSON()_behavior)
|
||||
function, it **will not be called**.
|
||||
|
||||
> **NOTE** The method will throw if the referenced object is not stringifiable.
|
||||
> **NOTE** The method will return an empty JSON if the referenced object is not stringifiable. It will throw an error if the object has circular references.
|
||||
|
||||
### class: ElementHandle
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user