JSON is a popular data format to exchange data between web servers and browsers via AJAX, because web browsers have built-in native support for parsing JSON into JavaScript objects.
JSON est un format de données populaire pour échanger des données entre les serveurs et navigateurs Web via AJAX, car les navigateurs web ont une prise en charge native pour analyser le JSON en objets JavaScript.
Other results
Using JXON to convert it into a JavaScript Object tree.
This will turn the text JSON data into an actual JavaScript object with members and values that we can iterate over.
Cela transformera les données JSON de texte en un objet JavaScript réel avec des membres et des valeurs que nous pouvons itérer.
Several scripts are available on the Web to serialize a JavaScript object into a JSON file.
De nombreux scripts sont disponibles sur le Web pour sérialiser un objet JavaScript en fichier JSON.
Now we've retrieved the JSON data and converted it into a JavaScript object, let's make use of it by writing the two functions we referenced above.
Maintenant que nous avons récupéré et converti en objet JavaScript nos données JSON, il est temps d'en faire usage en écrivant les deux fonctions que nous évoquions ci dessus.
Next, add the following two lines - here we are setting the responseType to JSON, so that XHR knows that the server will be returning JSON, and that this should be converted behind the scenes into a JavaScript object.
Ensuite, ajoutez les deux lignes suivantes - ici, nous fixons au responseType, la valeur JSON, ce qui signifie que notre serveur saura que nous nous attendons à recevoir du JSON comme valeur de retour.
The above example was simple in terms of accessing the JavaScript object, because we set the XHR request to convert the JSON response directly into a JavaScript object using
Dans l'exemple ci-dessus, accéder au JSON est simple, il suffit de définir la requête XHR pour renvoyer la réponse au format JSON en écrivant
Data related to the product is sent via a javascript object.
Les données de l'impression sont envoyées via un objet javascript.
JavaScript objects can be thought of as simple collections of name-value pairs.
Displays an interactive listing of the properties of a specified JavaScript object.
Affiche une liste interactive des propriétés d'un objet JavaScript donné.
They're just JavaScript objects where we can put some data.
Ce sont juste des objets JavaScript où nous stockons quelques données.
You can store arbitrary JavaScript objects in the hidden window.
Vous pouvez stocker des objets JavaScript arbitraires dans la fenêtre cachée.
Parameters object A JavaScript object whose properties should be output.
Paramètres object Un objet JavaScript dont les propriétés doivent être sorties.
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.