toJSON

open external fun toJSON(): JsAny(source)

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

MDN Reference