<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>24 Aug 2017 00:51:00 Z</lastBuildDate><pubDate>23 Aug 2017 21:25:00 Z</pubDate><description>Hello All:&#13;
&#13;
I have to call a REST web service which returns data in JSON format, and I have to look for some fields and display them in the web page.&#13;
&#13;
I tried JSONExecute( ) but I got "send error"... I tried with RESTSend() and it worked fine.&#13;
Now, my question is; what is the best way to deal with the JSON payload? Should I convert it to Variant or a structure? Should I use Deserialization?&#13;
&#13;
Thanks for sharing your experiences.&#13;
&#13;
Regards;&#13;
Gus</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62374-best-way-deal-with-json-payloads/read.awp</link><title>Best way to deal with JSON payloads.</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62374-best-way-deal-with-json-payloads-62381/read.awp</comments><pubDate>24 Aug 2017 00:51:00 Z</pubDate><description>I don't have enough experience with JSON in WinDev to know the best way, but this is how I do it. I use a variant. Below is a si…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62374-best-way-deal-with-json-payloads-62381/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62374-best-way-deal-with-json-payloads-62381/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62374-best-way-deal-with-json-payloads/read.awp">Best way to deal with JSON payloads.</source><title>Re: Best way to deal with JSON payloads.</title></item></channel></rss>
