toJSON

open override fun toJSON(): JsAny(source)

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

MDN Reference