Traduction de "in ein JavaScript-Objekt" en anglais
Nous n’avons pas trouvé cette entrée. Affichage de résultats approximatifs. Vérifiez l’orthographe ou proposez d’ajouter ce terme au dictionnaire.
into a Javascript object
Da JSON selbst gültiges Javascript darstellt, kann es direkt ausgeführt und somit in ein Javascript-Objekt überführt werden.
Since JSON itself is a valid Javascript, it can be executed directly and thus converted into a Javascript object.
Wenn mit der Funktion ein JSON-String zurückgegeben wird, kann dieser mit der Methode JSON.parse wieder in ein JavaScript-Objekt umgewandelt werden. Beispiel
If you returned a JSON string from the function, you could convert it back into a JavaScript object using JSON.parse method, e.g.
Die Option mNavi ist ein gutes Beispiel für ein mehrdimensionales Array in PHP, das in ein JavaScript-Objekt konvertiert wird.
The mNavi option is a good example for a multidimensional array in PHP that is converted to JavaScript object.
Damit lässt sich eine JSON-Definition in JavaScript direkt mit der eval()-Funktion in ein JavaScript-Objekt umsetzen.
This easy and popular but risky technique exploits JSON's compatibility with the JavaScript eval() function, which is described below.
Der aus der Funktion getRSS() übergebenen Text im JSON-Format wird mit JSON.parse(response) in ein Javascript-Objekt umgewandelt.
The text in JSON format passed by the getRSS() function is converted to a Javascript object with JSON.parse(response).
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.