Given the following code:
QVariantList l1;
QVariantList l2;
QVariantList l3;
l2.append("0");
l2.append("1");
l2.append("2");
l2.append("3");
l2.append("4");
l3.append("0");
l3.append("1");
l3.append("2");
l3.append("3");
l3.append("4");
l1.append(l2);
l1.append(l3);
QJson::Serializer ser;
qDebug() << ser.serialize(l1);
I would expect this kind of output:
"[[ "0", "1", "2", "3", "4"], ["0", "1", "2", "3", "4"] ]"
However, I get this output:
"[ "0", "1", "2", "3", "4", "0", "1", "2", "3", "4" ]"
Is this intentional, or a bug?
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
QJson-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qjson-devel