| 432 | } |
| 433 | |
| 434 | void parseJsonStrValueIntoVector(json_spirit::mValue const& _json, vector<string>& _out) |
| 435 | { |
| 436 | if (_json.type() == UniValue_type) |
| 437 | { |
| 438 | for (auto const& val: _json.get_array()) |
| 439 | _out.push_back(val.get_str()); |
| 440 | } |
| 441 | else |
| 442 | _out.push_back(_json.get_str()); |
| 443 | } |
| 444 | |
| 445 | void parseJsonIntValueIntoVector(json_spirit::mValue const& _json, vector<int>& _out) |
| 446 | { |
no test coverage detected