@@ -261,26 +261,26 @@ pbmessages::MemberChange_Member* memberFromJson(const nlohmann::json& j)
261261 }
262262 }
263263 m->set_active_bridge (j.value (" activeBridge" , false ));
264- if (j[" tags" ].is_array ()) {
265- nlohmann::json tags = j[" tags" ];
266- std::string tagsStr = OSUtils::jsonDump (tags, -1 );
267- m->set_tags (tagsStr);
268- }
269- else {
270- nlohmann::json tags = nlohmann::json::array ();
271- std::string tagsStr = OSUtils::jsonDump (tags, -1 );
272- m->set_tags (tagsStr);
273- }
274- if (j[" capabilities" ].is_array ()) {
275- nlohmann::json caps = j[" capabilities" ];
276- std::string capsStr = OSUtils::jsonDump (caps, -1 );
277- m->set_capabilities (capsStr);
278- }
279- else {
280- nlohmann::json caps = nlohmann::json::array ();
281- std::string capsStr = OSUtils::jsonDump (caps, -1 );
282- m->set_capabilities (capsStr);
283- }
264+ // if (j["tags"].is_array()) {
265+ // nlohmann::json tags = j["tags"];
266+ // std::string tagsStr = OSUtils::jsonDump(tags, -1);
267+ // m->set_tags(tagsStr);
268+ // }
269+ // else {
270+ // nlohmann::json tags = nlohmann::json::array();
271+ // std::string tagsStr = OSUtils::jsonDump(tags, -1);
272+ // m->set_tags(tagsStr);
273+ // }
274+ // if (j["capabilities"].is_array()) {
275+ // nlohmann::json caps = j["capabilities"];
276+ // std::string capsStr = OSUtils::jsonDump(caps, -1);
277+ // m->set_capabilities(capsStr);
278+ // }
279+ // else {
280+ // nlohmann::json caps = nlohmann::json::array();
281+ // std::string capsStr = OSUtils::jsonDump(caps, -1);
282+ // m->set_capabilities(capsStr);
283+ // }
284284 m->set_creation_time (j.value (" creationTime" , 0 ));
285285 m->set_no_auto_assign_ips (j.value (" noAutoAssignIps" , false ));
286286 m->set_revision (j.value (" revision" , 0 ));
0 commit comments