| 501 | } |
| 502 | |
| 503 | FormattedJson FormattedJson::formattedAs(String const& formatting) const { |
| 504 | starAssert(Json::parse(formatting) == toJson()); |
| 505 | FormattedJson json = *this; |
| 506 | json.m_formatting = formatting; |
| 507 | return json; |
| 508 | } |
| 509 | |
| 510 | void FormattedJsonBuilderStream::beginObject() { |
| 511 | FormattedJson value = FormattedJson::ofType(Json::Type::Object); |