| 357 | |
| 358 | template <typename... T> |
| 359 | Json jsonMergeQueryDef(String const& key, Json def, Json const& first, T const&... rest) { |
| 360 | if (auto v = jsonMergeQueryImpl(key, first, rest...)) |
| 361 | return v; |
| 362 | return def; |
| 363 | } |
| 364 | |
| 365 | // Compares two JSON values to see if the second is a subset of the first. |
| 366 | // For objects, each key in the second object must exist in the first |
no test coverage detected