MCPcopy Create free account
hub / github.com/SICKAG/sick_scan_xd / toStyledString

Method toStyledString

test/docker/jsoncpp/src/lib_json/json_value.cpp:1436–1444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1434ptrdiff_t Value::getOffsetLimit() const { return limit_; }
1435
1436String Value::toStyledString() const {
1437 StreamWriterBuilder builder;
1438
1439 String out = this->hasComment(commentBefore) ? "\n" : "";
1440 out += Json::writeString(builder, *this);
1441 out += '\n';
1442
1443 return out;
1444}
1445
1446Value::const_iterator Value::begin() const {
1447 switch (type()) {

Callers

nothing calls this directly

Calls 2

hasCommentMethod · 0.95
writeStringFunction · 0.85

Tested by

no test coverage detected