| 376 | struct KeyReader |
| 377 | { |
| 378 | static bool from_json_key(const TJson& json, T& key) |
| 379 | { |
| 380 | std::string str; |
| 381 | if (!FBE::JSON::from_json(json, str)) |
| 382 | return false; |
| 383 | |
| 384 | std::istringstream(str) >> key; |
| 385 | return true; |
| 386 | } |
| 387 | }; |
| 388 | |
| 389 | template <class TJson, typename T> |
nothing calls this directly
no test coverage detected