MCPcopy Create free account
hub / github.com/ComodoSecurity/openedr / toStyledString

Method toStyledString

edrav2/eprj/jsoncpp/src/lib_json/json_value.cpp:1513–1521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1511ptrdiff_t Value::getOffsetLimit() const { return limit_; }
1512
1513JSONCPP_STRING Value::toStyledString() const {
1514 StreamWriterBuilder builder;
1515
1516 JSONCPP_STRING out = this->hasComment(commentBefore) ? "\n" : "";
1517 out += Json::writeString(builder, *this);
1518 out += '\n';
1519
1520 return out;
1521}
1522
1523Value::const_iterator Value::begin() const {
1524 switch (type_) {

Callers 5

JSONTEST_FIXTUREFunction · 0.80
HandleResponseMethod · 0.80
GetProcedureMethod · 0.80
toJsonTypeMethod · 0.80
setWhatMessageMethod · 0.80

Calls 2

hasCommentMethod · 0.95
writeStringFunction · 0.85

Tested by 2

GetProcedureMethod · 0.64
toJsonTypeMethod · 0.64