toJSON

open external override fun toJSON(): JsAny(source)

The toJSON() method of the PerformancePaintTiming interface returns a JSON-serializable plain object representing the PerformancePaintTiming object.

MDN Reference