toJSON

open override fun toJSON(): JsAny(source)

The toJSON() method of the PerformanceEventTiming interface is a Serialization; it returns a JSON representation of the PerformanceEventTiming object.

MDN Reference