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

Method printString

source/core/StarJson.cpp:871–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

869}
870
871String Json::printString() const {
872 if (type() == Type::String)
873 return *m_data.get<StringConstPtr>();
874 return repr();
875}
876
877std::ostream& operator<<(std::ostream& os, Json const& v) {
878 outputUtf8Json(v, std::ostream_iterator<char>(os), 0, false);

Callers 1

updateMethod · 0.80

Calls 1

typeFunction · 0.50

Tested by

no test coverage detected