MCPcopy Create free account
hub / github.com/Snapchat/Valdi / write

Method write

valdi_core/src/valdi_core/cpp/Utils/JSONWriter.cpp:98–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void JSONWriter::write(std::string_view str) {
99 _output.append(str.begin(), str.end());
100}
101
102void JSONWriter::writeStringArray(const char* const* begin, const char* const* end) {
103 writeArray(begin, end, [&](const auto* str) { writeString(std::string_view(str)); });

Callers

nothing calls this directly

Calls 3

appendMethod · 0.65
endMethod · 0.65
beginMethod · 0.45

Tested by

no test coverage detected