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

Method GetValueByPath

library/cpp/json/writer/json_value.cpp:858–865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

856 } // anonymous namespace
857
858 bool TJsonValue::GetValueByPath(const TStringBuf path, TJsonValue& result, char delimiter) const {
859 const TJsonValue* const ptr = GetValuePtrByPath<false>(this, path, delimiter);
860 if (ptr) {
861 result = *ptr;
862 return true;
863 }
864 return false;
865 }
866
867 bool TJsonValue::SetValueByPath(const TStringBuf path, const TJsonValue& value, char delimiter) {
868 TJsonValue* const ptr = GetValuePtrByPath<true>(this, path, delimiter);

Callers 2

Y_UNIT_TESTFunction · 0.45
ReInitializeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected