| 435 | } |
| 436 | |
| 437 | FormattedJson FormattedJson::object(ElementList const& elements) { |
| 438 | FormattedJson json = ofType(Json::Type::Object); |
| 439 | for (JsonElement const& elem : elements) { |
| 440 | json.appendElement(elem); |
| 441 | } |
| 442 | return json; |
| 443 | } |
| 444 | |
| 445 | FormattedJson FormattedJson::array(ElementList const& elements) { |
| 446 | FormattedJson json = ofType(Json::Type::Array); |
nothing calls this directly
no test coverage detected