| 228 | } |
| 229 | |
| 230 | BrushConstPtr parseWireBrush(Json const& brush) { |
| 231 | Json settings = brush.get(1); |
| 232 | String group = settings.getString("group"); |
| 233 | bool local = settings.getBool("local", true); |
| 234 | return make_shared<const WireBrush>(group, local); |
| 235 | } |
| 236 | |
| 237 | BrushConstPtr parseItemBrush(Json const& brush) { |
| 238 | ItemDescriptor item(brush.getString(1), 1); |