| 517 | } |
| 518 | |
| 519 | void FormattedJsonBuilderStream::endObject() { |
| 520 | FormattedJson value = pop(); |
| 521 | if (m_stack.size() > 0) |
| 522 | current().appendElement(ValueElement{value}); |
| 523 | else |
| 524 | m_root = value; |
| 525 | } |
| 526 | |
| 527 | void FormattedJsonBuilderStream::beginArray() { |
| 528 | FormattedJson value = FormattedJson::ofType(Json::Type::Array); |
no test coverage detected