PerformanceServerTiming.toJSON

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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
toJSON
65
79
61
No
52
No
65
65
61
47
No
9.0

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming/toJSON