Typed JSON: Pass parameters as const ref


It's bad enough that we have to copy them all once when converting them
into JSON values. We don't have to do it multiple times, though.

Coverity-Id: 433000
Change-Id: Id7d88cc50148496a1c0e4280bdad4d5cb3ecf1a7
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
commit1def6cd652e28674b4bdc9baa67d2d749f705efe
parent93a6ac466295c1cbe7b99f757c1eb61b26995e39
authorUlf Hermann <ulf.hermann@qt.io>
committerUlf Hermann <ulf.hermann@qt.io>
commit timeThu, 14 Dec 2023 17:26:36 +0100