<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>10 Jan 2019 18:17:29 Z</lastBuildDate><pubDate>7 Jan 2019 19:53:37 Z</pubDate><description>Bonjour, &#13;
&#13;
J'ai une structure:&#13;
stPayment_Definitions est une Structure&#13;
frequency est une enumFrequency&#13;
FIN&#13;
frequency est une enumeration:&#13;
enumFrequency est une Enumération&#13;
ctWeek="WEEK" &#13;
ctDay="DAY"&#13;
ctYear="YEAR"&#13;
ctMonth="MONTH"&#13;
FIN&#13;
Lorsque je veux sérialisé ma structure en JSON j'ai cette erreur:&#13;
Que s'est-il passé ?&#13;
La sérialisation JSON n'autorise pas les éléments de type 'MaStructure.enumFrequency'&#13;
Code erreur : 2612&#13;
Niveau : erreur fatale&#13;
&#13;
J'utilise la fonction VariantVersJSON&#13;
&#13;
Quelqu'un connait la solution à mon problème?&#13;
&#13;
Merci d'avance :)</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/223129-serilialisation-structure-avec-variable-type-enumeration/read.awp</link><title>Sérilialisation d'une structure avec une variable de type enumération</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Charly CANDO</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/223129-serilialisation-structure-avec-variable-type-enumeration-223216/read.awp</comments><pubDate>10 Jan 2019 18:17:29 Z</pubDate><description>Coucou,&#13;
&#13;
Tu peut pas sérializer une enumeration.&#13;
&#13;
Il te faut déclarer le membre en &lt;Serialize = Faux&gt;&#13;
&#13;
Soit tu continue av…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/223129-serilialisation-structure-avec-variable-type-enumeration-223216/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/223129-serilialisation-structure-avec-variable-type-enumeration-223216/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/223129-serilialisation-structure-avec-variable-type-enumeration/read.awp">Sérilialisation d'une structure avec une variable de type enumération</source><title>Re: Sérilialisation d'une structure avec une variable de type enumération</title></item></channel></rss>
