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

Method write_string

agent/php5/utils/json_reader.cc:237–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 j[ptr] = value;
236}
237void JsonReader::write_string(const std::vector<std::string> &keys, const std::string &value)
238{
239 json::json_pointer ptr = json::json_pointer(to_json_pointer(keys));
240 j[ptr] = value;
241}
242
243void JsonReader::write_map_to_array(const std::vector<std::string> &keys, const std::string fkey, const std::string skey,
244 const std::map<std::string, std::string> &value)

Callers 15

logMethod · 0.45
security_checkFunction · 0.45
openrasp_errorFunction · 0.45
log_alarmMethod · 0.45
fill_json_with_paramsMethod · 0.45
fill_json_with_paramsMethod · 0.45
fill_json_with_paramsMethod · 0.45
fill_json_with_paramsMethod · 0.45
fill_json_with_paramsMethod · 0.45
fill_json_with_paramsMethod · 0.45
fill_json_with_paramsMethod · 0.45
fill_json_with_paramsMethod · 0.45

Calls 1

to_json_pointerFunction · 0.70

Tested by

no test coverage detected