Translation of "in ein JavaScript-Objekt" in English
We couldn’t find this entry. Showing approximate results. Check your spelling or suggest adding this term to the dictionary.
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).
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.