PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → Deserialisation - I hate when it becomes complex
Deserialisation - I hate when it becomes complex
Started by ChristoK!, Aug., 16 2017 2:11 AM - No answer
Posted on August, 16 2017 - 2:11 AM
greetings gang

how would you create a structure that would handle the deserialisation of the following vCalc (if it's even possible - or should I leave as variant and work with that)

vRcvdDta is Variant
vCalc is Variant = vRcvdDta.seq.children[1].children[1].boolean
vCalc[1][1].type="x"
vCalc[1][1].data="y"
vCalc[1][1].content="stuff"
vCalc[1][2] = 0
vCalc[1][3].type="z"
vCalc[1][3].data="yy"
vCalc[1][3].content="more stuff"
vCalc[1][4] = 1
vCalc[1][5].type="a"
vCalc[1][5].data="yyy"
vCalc[1][5].content="even more stuff"