Make the QJsonDocument::toJson() output compact


- Use the QJsonDocument::Compact option in the
QJsonDocument::toJson() to make output shorter.

Change-Id: If60bedbc3e8322817b429136751bf22f26d1b01e
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commitce540f4c4114963338cfbe1dcdf722768884c71b
parent367be377f36aa9db3ebb999bf1314de90b63c96a
authorTatiana Borisova <tatiana.borisova@qt.io>
committerTatiana Borisova <tatiana.borisova@qt.io>
commit timeWed, 13 Aug 2025 10:24:22 +0200