MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / toStyledString

Method toStyledString

Sources/Dependencies/jsoncpp/value.cpp:1660–1668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1658 }
1659
1660 StringContainer Value::toStyledString() const {
1661 StreamWriterBuilder builder;
1662
1663 StringContainer out = this->hasComment(commentBefore) ? "\n" : "";
1664 out += Json::writeString(builder, *this);
1665 out += '\n';
1666
1667 return out;
1668 }
1669
1670 Value::const_iterator Value::begin() const {
1671 switch (type()) {

Callers

nothing calls this directly

Calls 2

hasCommentMethod · 0.95
writeStringFunction · 0.85

Tested by

no test coverage detected