MCPcopy Create free account
hub / github.com/catboost/catboost / SetValueByPath

Method SetValueByPath

library/cpp/json/writer/json_value.cpp:867–874  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

865 }
866
867 bool TJsonValue::SetValueByPath(const TStringBuf path, const TJsonValue& value, char delimiter) {
868 TJsonValue* const ptr = GetValuePtrByPath<true>(this, path, delimiter);
869 if (ptr) {
870 *ptr = value;
871 return true;
872 }
873 return false;
874 }
875
876 bool TJsonValue::SetValueByPath(const TStringBuf path, TJsonValue&& value, char delimiter) {
877 TJsonValue* const ptr = GetValuePtrByPath<true>(this, path, delimiter);

Callers 1

Y_UNIT_TESTFunction · 0.45

Calls 1

moveFunction · 0.50

Tested by

no test coverage detected