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

Method repr

source/core/StarFormattedJson.cpp:407–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407String 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
415String FormattedJson::printJson() const {
416 if (type() != Json::Type::Object && type() != Json::Type::Array)

Callers 3

toFormattedDoubleMethod · 0.45
toFormattedIntMethod · 0.45

Calls 1

isValidMethod · 0.80

Tested by

no test coverage detected