MCPcopy Create free account
hub / github.com/Samsung/ONE / toStyledString

Method toStyledString

runtime/3rdparty/jsoncpp/jsoncpp.cpp:4155–4164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4153ptrdiff_t Value::getOffsetLimit() const { return limit_; }
4154
4155String Value::toStyledString() const
4156{
4157 StreamWriterBuilder builder;
4158
4159 String out = this->hasComment(commentBefore) ? "\n" : "";
4160 out += Json::writeString(builder, *this);
4161 out += '\n';
4162
4163 return out;
4164}
4165
4166Value::const_iterator Value::begin() const
4167{

Callers

nothing calls this directly

Calls 2

hasCommentMethod · 0.95
writeStringFunction · 0.85

Tested by

no test coverage detected