| 941 | } |
| 942 | |
| 943 | bool TJsonValue::SetValueByPath(const TStringBuf path, const TJsonValue& value, char delimiter) { |
| 944 | TJsonValue* const ptr = GetValuePtrByPath<true>(this, path, delimiter); |
| 945 | if (ptr) { |
| 946 | *ptr = value; |
| 947 | return true; |
| 948 | } |
| 949 | return false; |
| 950 | } |
| 951 | |
| 952 | bool TJsonValue::SetValueByPath(const TStringBuf path, TJsonValue&& value, char delimiter) { |
| 953 | TJsonValue* const ptr = GetValuePtrByPath<true>(this, path, delimiter); |