package io.vertx.ext.web.api.contract;

import io.vertx.core.json.JsonObject;
import io.vertx.core.json.JsonArray;

/**
 * Converter for {@link io.vertx.ext.web.api.contract.RouterFactoryOptions}.
 * NOTE: This class has been automatically generated from the {@link "io.vertx.ext.web.api.contract.RouterFactoryOptions} original class using Vert.x codegen.
 */
 class RouterFactoryOptionsConverter {

   static void fromJson(Iterable<java.util.Map.Entry<String, Object>> json, RouterFactoryOptions obj) {
    for (java.util.Map.Entry<String, Object> member : json) {
      switch (member.getKey()) {
          case "mountNotImplementedHandler":
            if (member.getValue() instanceof Boolean) {
              obj.setMountNotImplementedHandler((Boolean)member.getValue());
            }
            break;
          case "mountResponseContentTypeHandler":
            if (member.getValue() instanceof Boolean) {
              obj.setMountResponseContentTypeHandler((Boolean)member.getValue());
            }
            break;
          case "mountValidationFailureHandler":
            if (member.getValue() instanceof Boolean) {
              obj.setMountValidationFailureHandler((Boolean)member.getValue());
            }
            break;
          case "requireSecurityHandlers":
            if (member.getValue() instanceof Boolean) {
              obj.setRequireSecurityHandlers((Boolean)member.getValue());
            }
            break;
      }
    }
  }

   static void toJson(RouterFactoryOptions obj, JsonObject json) {
    toJson(obj, json.getMap());
  }

   static void toJson(RouterFactoryOptions obj, java.util.Map<String, Object> json) {
      json.put("mountNotImplementedHandler", obj.isMountNotImplementedHandler());
      json.put("mountResponseContentTypeHandler", obj.isMountResponseContentTypeHandler());
      json.put("mountValidationFailureHandler", obj.isMountValidationFailureHandler());
      json.put("requireSecurityHandlers", obj.isRequireSecurityHandlers());
  }
}

@@ -592,34 +592,32 @@
 ey()) %7B%0A        
-  
 case %22mountNotIm
@@ -627,34 +627,32 @@
 mentedHandler%22:%0A
-  
           if (me
@@ -681,34 +681,32 @@
 ceof Boolean) %7B%0A
-  
             obj.
@@ -766,38 +766,34 @@
 e());%0A          
-  %7D%0A  
+%7D%0A
           break;
@@ -785,34 +785,32 @@
          break;%0A
-  
         case %22mo
@@ -843,34 +843,32 @@
 ler%22:%0A          
-  
 if (member.getVa
@@ -887,34 +887,32 @@
 ceof Boolean) %7B%0A
-  
             obj.
@@ -967,34 +967,32 @@
 er.getValue());%0A
-  
           %7D%0A    
@@ -993,35 +993,31 @@
 %7D%0A          
-  
 break;%0A
-  
         case
@@ -1042,34 +1042,32 @@
 ailureHandler%22:%0A
-  
           if (me
@@ -1108,34 +1108,32 @@
 ) %7B%0A            
-  
 obj.setMountVali
@@ -1184,38 +1184,34 @@
 e());%0A          
-  %7D%0A  
+%7D%0A
           break;
@@ -1215,26 +1215,24 @@
 ak;%0A        
-  
 case %22requir
@@ -1251,18 +1251,16 @@
 dlers%22:%0A
-  
         
@@ -1297,34 +1297,32 @@
 ceof Boolean) %7B%0A
-  
             obj.
@@ -1379,38 +1379,34 @@
 e());%0A          
-  %7D%0A  
+%7D%0A
           break;
@@ -1611,26 +1611,24 @@
 ct%3E json) %7B%0A
-  
     json.put
@@ -1691,34 +1691,32 @@
 Handler());%0A    
-  
 json.put(%22mountR
@@ -1781,34 +1781,32 @@
 Handler());%0A    
-  
 json.put(%22mountV
@@ -1867,26 +1867,24 @@
 Handler());%0A
-  
     json.put

Rebase onto master