* @brief Returns the UTF-8 byte length of @p obj serialized as compact JSON. */
| 202 | * @brief Returns the UTF-8 byte length of @p obj serialized as compact JSON. |
| 203 | */ |
| 204 | static int approxJsonSize(const QJsonObject& obj) |
| 205 | { |
| 206 | return QJsonDocument(obj).toJson(QJsonDocument::Compact).size(); |
| 207 | } |
| 208 | |
| 209 | /** |
| 210 | * @brief Opts the running project into the full MCP command surface for apiCall(). |
no test coverage detected