Firefox Tomorrow

web api instance method

PerformanceNavigation: toJSON() method

View on MDN ↗

[!WARNING] This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface 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.

See also