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

Method writeArray

valdi_core/src/valdi_core/cpp/Utils/JSONWriter.hpp:62–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61 template<typename Iterator, typename F>
62 void writeArray(Iterator begin, Iterator end, F&& fn) {
63 writeBeginArray();
64 writeCommaDelimited(begin, end, std::move(fn));
65 writeEndArray();
66 }
67
68 template<typename C, typename F>
69 void writeArray(const C& container, F&& fn) {

Callers 2

writeValueToJSONWriterFunction · 0.80
buildMethod · 0.80

Calls 2

endMethod · 0.65
beginMethod · 0.45

Tested by

no test coverage detected