MCPcopy Create free account
hub / github.com/baidu/openrasp / write_vector

Method write_vector

agent/php7/utils/json_reader.cc:292–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292void JsonReader::write_vector(const std::vector<std::string> &keys, const std::vector<std::string> &value)
293{
294 json j_vec(value);
295 json::json_pointer ptr = json::json_pointer(to_json_pointer(keys));
296 j[ptr] = j_vec;
297}
298
299void JsonReader::write_int64_vector(const std::vector<std::string> &keys, const std::vector<int> &value)
300{

Callers 6

logMethod · 0.45
security_checkFunction · 0.45
log_alarmMethod · 0.45
log_policyMethod · 0.45
fill_json_with_paramsMethod · 0.45

Calls 1

to_json_pointerFunction · 0.70

Tested by

no test coverage detected