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

Function WriteJson

Source/cmStringCommand.cxx:923–929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

921 return json;
922}
923std::string WriteJson(Json::Value const& value)
924{
925 Json::StreamWriterBuilder writer;
926 writer["indentation"] = " ";
927 writer["commentStyle"] = "None";
928 return Json::writeString(writer, value);
929}
930
931#endif
932

Callers 1

HandleJSONCommandFunction · 0.85

Calls 1

writeStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…