| 33 | |
| 34 | template <typename TType> |
| 35 | static void GetOption(const NJson::TJsonValue& optionsJson, const TString& name, TType* result) { |
| 36 | if (optionsJson.Has(name)) { |
| 37 | *result = FromString<TType>(optionsJson[name].GetString()); |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | template <typename TContainerType> |
| 42 | static void GetContainerOption(const NJson::TJsonValue& optionsJson, const TString& name, TContainerType* result) { |
no test coverage detected