MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / formattedAs

Method formattedAs

source/core/StarFormattedJson.cpp:503–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501}
502
503FormattedJson 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
510void FormattedJsonBuilderStream::beginObject() {
511 FormattedJson value = FormattedJson::ofType(Json::Type::Object);

Callers 1

putValueMethod · 0.80

Calls 1

parseFunction · 0.50

Tested by

no test coverage detected