toJSON

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

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

MDN Reference