1 #include "portctrl-data.hpp"
2 #include "portctrl-parse.hpp"
11 std::getline(std::cin
, tmp
);
12 in_json
= in_json
+ tmp
+ "\n";
14 JSON::node
n(in_json
);
15 auto x
= portctrl::pcs_from_json_array(n
, "ports");
17 std::string out
= portctrl::pcs_write_classes(x
, t
);