| 405 | } |
| 406 | |
| 407 | String FormattedJson::repr() const { |
| 408 | if (m_formatting.isValid()) |
| 409 | return *m_formatting; |
| 410 | String result; |
| 411 | outputUtf32Json<std::back_insert_iterator<String>, FormattedJson>(*this, std::back_inserter(result), 0, false); |
| 412 | return result; |
| 413 | } |
| 414 | |
| 415 | String FormattedJson::printJson() const { |
| 416 | if (type() != Json::Type::Object && type() != Json::Type::Array) |
no test coverage detected