MCPcopy Create free account
hub / github.com/audacity/audacity / DeserializeArray

Function DeserializeArray

libraries/lib-cloud-audiocom/sync/CloudSyncDTO.cpp:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91template<typename T>
92bool DeserializeArray(
93 const rapidjson::Value& value, std::string_view zKey, std::vector<T>& result)
94{
95 if (!value.IsObject() || !value.HasMember(zKey.data()))
96 return false;
97
98 return DeserializeArray(value[zKey.data()], result);
99}
100
101bool Deserialize(const rapidjson::Value& value, UploadUrls& urls)
102{

Callers 1

DeserializeFunction · 0.85

Calls 6

moveFunction · 0.85
SizeMethod · 0.80
DeserializeFunction · 0.70
dataMethod · 0.45
clearMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected