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

Method writeStringArray

valdi_core/src/valdi_core/cpp/Utils/JSONWriter.cpp:102–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)); });
104}
105
106void JSONWriter::writeCommaDelimitedStrings(const char* const* begin, const char* const* end) {
107 writeCommaDelimited(begin, end, [&](const auto& str) { writeString(std::string_view(str)); });

Callers 1

writeSnapshotFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected