MCPcopy Create free account
hub / github.com/alibaba/CicadaPlayer / addJSON

Method addJSON

framework/utils/CicadaJSON.cpp:398–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398void CicadaJSONArray::addJSON(const CicadaJSONItem &JSON)
399{
400 std::lock_guard<std::mutex> lock(mMutex);
401
402 if (mArray) {
403 cJSON_AddItemToArray(mArray, JSON.getJSONCopy());
404 }
405}
406
407void CicadaJSONArray::addInt64(int64_t value)
408{

Callers 9

open_internalMethod · 0.80
resetSourceMethod · 0.80
open_internalMethod · 0.80
resetSourceMethod · 0.80
notifyNetworkEventMethod · 0.80
getPropertyJSONStrMethod · 0.80
addURLPropertyMethod · 0.80
GetPropertyStringMethod · 0.80

Calls 2

cJSON_AddItemToArrayFunction · 0.85
getJSONCopyMethod · 0.80

Tested by

no test coverage detected