The toJSON()
method of the PerformanceServerTiming
interface returns a DOMString
that is the JSON representation of the PerformanceServerTiming
object.
Syntax
var json = PerformanceServerTiming.toJSON()
Parameters
None.
Return value
A DomString
containing JSON.
Exceptions
None.
Specifications
Specification | Status | Comment |
Server TimingThe definition of 'toJSON' in that specification. | Working Draft | Initial definition. |
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Chrome
Full support 65 |
Edge
Full support ≤79 |
Firefox
Full support 61 |
IE
No support No |
Opera
Full support 52 |
Safari
? |
WebView Android
Full support 65 |
Chrome Android
Full support 65 |
Firefox Android
Full support 61 |
Opera Android
Full support 47 |
Safari iOS
? |
Samsung Internet Android
Full support 9.0 |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- Experimental. Expect behavior to change in the future.'
- Experimental. Expect behavior to change in the future.
PerformanceServerTiming.toJSON by Mozilla Contributors is licensed under CC-BY-SA 2.5.