web api instance method
PerformanceNavigation: toJSON() method
[!WARNING] This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the
PerformanceNavigationTiminginterface instead.
The toJSON() method of the PerformanceNavigation interface is a serializer; it returns a JSON representation of the PerformanceNavigation object.
Syntax
toJSON()
Parameters
None.
Return value
A JSON object that is the serialization of the PerformanceNavigation object.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.