MCPcopy Create free account
hub / github.com/SOUI2/soui / toStyledString

Method toStyledString

third-part/jsoncpp/src/lib_json/json_value.cpp:1454–1462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1452ptrdiff_t Value::getOffsetLimit() const { return limit_; }
1453
1454JSONCPP_STRING Value::toStyledString() const {
1455 StreamWriterBuilder builder;
1456
1457 JSONCPP_STRING out = this->hasComment(commentBefore) ? "\n" : "";
1458 out += Json::writeString(builder, *this);
1459 out += "\n";
1460
1461 return out;
1462}
1463
1464Value::const_iterator Value::begin() const {
1465 switch (type_) {

Callers 1

JSONTEST_FIXTUREFunction · 0.80

Calls 2

hasCommentMethod · 0.95
writeStringFunction · 0.85

Tested by

no test coverage detected