| 207 | |
| 208 | template<typename B> |
| 209 | static void bitfield_to_json_array(Json::Value & out, B bits) |
| 210 | { |
| 211 | std::vector<std::string> names; |
| 212 | bitfield_to_string(&names, bits); |
| 213 | |
| 214 | for (auto & it : names) |
| 215 | { |
| 216 | out.append(it); |
| 217 | } |
| 218 | } |
| 219 | |
| 220 | template<typename B> |
| 221 | static void json_array_to_bitfield(B & bits, Json::Value & arr) |
no test coverage detected