toJSON

open override fun toJSON(): ERROR CLASS: Symbol not found for JsAny(source)

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

MDN Reference