Bug 2438: No serializer found for class.. BooleanBaseType
[ovsdb.git] / northbound / src / main / java / org / opendaylight / ovsdb / northbound / TableResource.java
index 61bf7f9953565b2228f4707c7f231cb795efceef..46ae46ad76cfaecc900bb329c327a54f4aace105 100644 (file)
@@ -1,5 +1,6 @@
 package org.opendaylight.ovsdb.northbound;
 
+import com.fasterxml.jackson.databind.SerializationFeature;
 import java.util.Set;
 
 import javax.ws.rs.GET;
@@ -31,7 +32,7 @@ public class TableResource {
         this.databaseName = databaseName;
         objectMapper = new ObjectMapper();
         objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
-
+        objectMapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
     }
 
     private DatabaseSchema getDatabaseSchema (String databaseName) {