PerformanceServerTiming.toJSON()

The toJSON() method of the PerformanceServerTiming interface returns a string that is the JSON representation of the PerformanceServerTiming object.

Syntax

toJSON()

Parameters

None.

Return value

A DomString containing JSON.

Exceptions

None.

Specifications

Specification
Server Timing
# dom-performanceservertiming-tojson

Browser compatibility

BCD tables only load in the browser