<div dir="ltr"><div dir="ltr"><div>Thanks for the answers.</div><div><br></div><div>> I'm not sure I want to see more Datastream-based serialisation. The code there </div><div>> is too fragile and not compatible enough with standards. I recommend you </div><div>> reconsider and think about a more standard format.  </div><div><br></div><div>Just wanted to clarify, that I am working on a solution, which is totaly different from datastream serialization (and opposes it) and is format agnostic. It has an abstract module, which can be implemented for XML, JSON and so on.</div><div>The API would be QByteArray serialize(const QVariant& value), and QVariant might be a gadget or a collection of any depth. The only thing it does, is peaking inside QVariant and recursively (de)serializes properties or items.</div><div><br></div><div>> This is a very lossy conversion without sufficient error reporting. That's an </div><div>> example of why I don't think we should invest more time in this type of API. </div><div><br></div><div>Thanks for pointing this out.</div><div><br></div><div>> Nor I. That code is black magic to me and I don't touch it.</div><div><br></div><div>Is it going to be left like that forever :( ?</div><div><br></div></div></div>