[Interest] Can't JSON.stringify an object in QML
Thorsten Glaser
t.glaser at tarent.de
Tue Jun 1 16:40:31 CEST 2021
On Tue, 1 Jun 2021, Jason H wrote:
>
> Well, if it were cyclical (I really don't think it is), I would expect that the line:
> return QJsonDocument::fromVariant(v).toJson(QJsonDocument::Compact);
>
> Would never return.
No, error-tolerant behaviour just returns null in the place
where the self-recursion is first detected.
bye,
//mirabilos
--
Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
*************************************************
Mit dem tarent-Newsletter nichts mehr verpassen: www.tarent.de/newsletter
*************************************************
More information about the Interest
mailing list