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