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

Method GetValueByPath

library/cpp/json/ordered_maps/json_value_ordered.cpp:934–941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

932 } // anonymous namespace
933
934 bool TJsonValue::GetValueByPath(const TStringBuf path, TJsonValue& result, char delimiter) const {
935 const TJsonValue* const ptr = GetValuePtrByPath<false>(this, path, delimiter);
936 if (ptr) {
937 result = *ptr;
938 return true;
939 }
940 return false;
941 }
942
943 bool TJsonValue::SetValueByPath(const TStringBuf path, const TJsonValue& value, char delimiter) {
944 TJsonValue* const ptr = GetValuePtrByPath<true>(this, path, delimiter);

Callers 1

Y_UNIT_TESTFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected