| 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); |
no outgoing calls
no test coverage detected