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 Timing The definition of 'toJSON' in that specification. |
Working Draft | Initial definition. |
Browser compatibility
BCD tables only load in the browser