PerformanceServerTiming.toJSON()
La méthode toJSON()
de l'interface PerformanceServerTiming
retourne une chaîne de caractères DOMString
qui est la représentation JSON de l'objet PerformanceServerTiming
.
Syntaxe
let json = PerformanceServerTiming.toJSON()
Paramètres
Aucun.
Valeur de retour
json
-
Une chaîne de caractères JSON qui est la sérialisation de l'objet
PerformanceServerTiming
.
Spécifications
Spécification | Statut | Commentaire |
---|---|---|
Server Timing La définition de 'toJSON' dans cette spécification. |
Version de travail | Définition initiale. |
Compatibilité des navigateurs
BCD tables only load in the browser