<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>23 Jul 2017 13:33:00 Z</lastBuildDate><pubDate>22 Jul 2017 18:41:00 Z</pubDate><description>WDv22 - 01A220063m&#13;
&#13;
Yesterday this was working fine.&#13;
Only thing that has changed is that M$ applied the 'creators update' without so much as a by your leave.&#13;
&#13;
I have a multi-select looper, on save I loop through this and add each selected row to an array and execute the following code.&#13;
&#13;
//If selections have been made IF ArrayCount(clMatching.m_ArrEssentials) &gt; 0 THEN //Store the array content lvArrContent = clMatching.m_ArrEssentials //Update match string with the all selections as JSON clMatching.SET_JSONEssentials = VariantToJSON(lvArrContent) END&#13;
Yesterday no problem - today I get the fatal error.....&#13;
&#13;
Error at line 17 of Click btnSave process.&#13;
VariantToJSON function called.&#13;
The JSON serialization does not allow the 'object' elements.&#13;
&#13;
My understanding that it is supposed to do exactly what the error says it cannot.&#13;
&#13;
I assume that 'object' is referring to the class - I have tried this as a class Property and class Method but get the same error.&#13;
&#13;
Yesterday it saved it as [ { "nID":142 }, { "nID":143 }, { "nID":144 } ]&#13;
&#13;
Any thoughts</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61873-varianttojson-now-not-working/read.awp</link><title>VariantToJSON - Now not working</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/61873-varianttojson-now-not-working-solved-61879/read.awp</comments><pubDate>23 Jul 2017 13:33:00 Z</pubDate><description>After a bit more playing about my findings are that - much as the error implied - VariantToJSON, or for that matter Serialize(),…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61873-varianttojson-now-not-working-solved-61879/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61873-varianttojson-now-not-working-solved-61879/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61873-varianttojson-now-not-working/read.awp">VariantToJSON - Now not working</source><title>Re: VariantToJSON - Now not working - SOLVED</title></item></channel></rss>
