| 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); |