Optimize client initialization by using QJson directly.


Before, we constructed QVariant maps and lists and then converted them
to JSON to send the data to the webchannel.

By obsoleting the conversion step, benchInitializeClients shows a good
performance boost of ca. 19% (11.81ms vs 14.58ms).

Change-Id: Ief8e8127207a046f481488a478cd6a18fa0ebffe
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
commit13aee32e61f20e05fea18a26d35e610fb0e3081f
parenta001534f832e58cc081512e12a4b7266489f2ad7
authorMilian Wolff <milian.wolff@kdab.com>
committerThe Qt Project <gerrit-noreply@qt-project.org>
commit timeFri, 27 Dec 2013 15:51:27 +0100