PerformanceNavigation: toJSON() method

Deprecated

Avoid using this feature in new projects. This feature is supserseded by the PerformanceNavigationTiming API. This feature may be a candidate for removal from web standards or browsers.

Consider using the following features instead: Performance or Navigation timing.

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.