method Performance.toJSONPerformance.toJSON(): anyDeprecatedReturns a JSON representation of the performance object. Return Typeany