MCPcopy Create free account
hub / github.com/Kitware/VTK / toStyledString

Method toStyledString

ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:3876–3884  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3874ptrdiff_t Value::getOffsetLimit() const { return limit_; }
3875
3876String Value::toStyledString() const {
3877 StreamWriterBuilder builder;
3878
3879 String out = this->hasComment(commentBefore) ? "\n" : "";
3880 out += Json::writeString(builder, *this);
3881 out += '\n';
3882
3883 return out;
3884}
3885
3886Value::const_iterator Value::begin() const {
3887 switch (type()) {

Callers

nothing calls this directly

Calls 2

hasCommentMethod · 0.95
writeStringFunction · 0.85

Tested by

no test coverage detected