<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>16 Oct 2024 08:51:06 Z</lastBuildDate><pubDate>17 May 2019 10:20:16 Z</pubDate><description>Bonjour,&#13;
&#13;
Je viens de migrer en version 24 pour l'exploitation native des JSON, format que je ne connais pas.&#13;
J'utilise une API qui renvoi un fichier JSON dans lequel je souhaite extraire des coordonnées géographiques.&#13;
&#13;
Voici mon code :&#13;
[code:wl]&#13;
// On géolocalise le centre du cercle&#13;
		gMaReq.URL="https://api-adresse.data.gouv.fr/search/?q=55+rue+du+faubourg+saint+honore&amp;postcode=75008"&#13;
		gMaReponse=RESTEnvoie(gMaReq)&#13;
		SI ErreurDétectée ALORS&#13;
			Erreur(ErreurInfo(errComplet))&#13;
		SINON&#13;
			Info(gMaReponse.Contenu)&#13;
			&#13;
			MonAdresse est un JSON &lt;description="api-adresse.data.gouv.fr"&gt; &#13;
			MonAdresse=gMaReponse.Contenu&#13;
			&#13;
				Trace (MonAdresse.features.geometry.coordinates[0])&#13;
[/code]&#13;
&#13;
Je récupère bien la réponse.&#13;
J'ai intégré un fichier de réponse dans les descriptions externes pour pouvoir utiliser l'autocomplétion cependant impossible d'extraire les coordonnée qui correspondraient aux champs MonAdresse.features.geometry.coordinates.0 et MonAdresse.features.geometry.coordinates.1&#13;
&#13;
Lors de l'execution du trace... j'ai l'erreur : "Le variant n'est pas un objet."&#13;
&#13;
&#13;
Merci par avance de votre aide.&#13;
&#13;
Bonne journée</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json/read.awp</link><title>[WD24] Exploitation JSON</title><managingEditor>moderateur@pcsoft.fr (Le modérateur)</managingEditor><webMaster>webmaster@pcsoft.fr (Le Webmaster)</webMaster><item><author>priv!41znv0+6417vyyrMpu5s+s4</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json-273900/read.awp</comments><pubDate>16 Oct 2024 08:51:06 Z</pubDate><description>DELFI INFO-Chris a écrit : &#13;
&gt; bonjour Ambroise,&#13;
&gt; &#13;
&gt; alors dans un premier temps, les tableaux sous windev commence toujours …</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json-273900/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json-273900/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json/read.awp">[WD24] Exploitation JSON</source><title>Re: [WD24] Exploitation JSON</title></item><item><author>jb.bernard</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json-230196/read.awp</comments><pubDate>17 May 2019 11:27:06 Z</pubDate><description>Un grand merci Christophe.&#13;
&#13;
Effectivement, cela fonctionne. Je viens de comprendre la différence entre le symbole du cube et l…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json-230196/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json-230196/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json/read.awp">[WD24] Exploitation JSON</source><title>Re: [WD24] Exploitation JSON</title></item><item><author>DELFI INFO-Chris</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json-230194/read.awp</comments><pubDate>17 May 2019 11:04:32 Z</pubDate><description>pour compléter, &#13;
sous windev dans la description de votre JSON,&#13;
pour les tableaux vous avez un tout petit symbole bleu foncé a…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json-230194/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json-230194/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json/read.awp">[WD24] Exploitation JSON</source><title>Re: [WD24] Exploitation JSON</title></item><item><author>DELFI INFO-Chris</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json-230193/read.awp</comments><pubDate>17 May 2019 10:59:54 Z</pubDate><description>bonjour Ambroise,&#13;
&#13;
alors dans un premier temps, les tableaux sous windev commence toujours à 1 et non pas 0.&#13;
Ensuite, dans un…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json-230193/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json-230193/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/230192-wd24-exploitation-json/read.awp">[WD24] Exploitation JSON</source><title>Re: [WD24] Exploitation JSON</title></item></channel></rss>
