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