MCPcopy Create free account
hub / github.com/Kitware/CMake / write

Method write

Utilities/cmjsoncpp/src/lib_json/json_writer.cpp:378–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376void FastWriter::omitEndingLineFeed() { omitEndingLineFeed_ = true; }
377
378String FastWriter::write(const Value& root) {
379 document_.clear();
380 writeValue(root);
381 if (!omitEndingLineFeed_)
382 document_ += '\n';
383 return document_;
384}
385
386void FastWriter::writeValue(const Value& value) {
387 switch (value.type()) {

Callers 2

writeStringFunction · 0.45
json_writer.cppFile · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected