MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / toJsonArray

Function toJsonArray

launcher/Json.h:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97
98template <typename T>
99QJsonArray toJsonArray(const QList<T>& container)
100{
101 QJsonArray array;
102 for (const T item : container) {
103 array.append(toJson<T>(item));
104 }
105 return array;
106}
107
108////////////////// READING ////////////////////
109

Callers

nothing calls this directly

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected