@Test public void toNullShouldConvertToNull(){ String to = converter.to(null); Assert.assertNull(to); }
@Override public String to(JsonObject userObject) { return userObject==null?null:userObject.encode(); }
JsonObjectConverter implements Converter<String,JsonObject> { @Override public String to(JsonObject userObject) { return userObject==null?null:userObject.encode(); } }
JsonObjectConverter implements Converter<String,JsonObject> { @Override public String to(JsonObject userObject) { return userObject==null?null:userObject.encode(); }  }
JsonObjectConverter implements Converter<String,JsonObject> { @Override public String to(JsonObject userObject) { return userObject==null?null:userObject.encode(); }  @Override JsonObject from(String databaseObject); @Override String to(JsonObject userObject); @Override Class<String> fromType(); @Override Class<JsonObject> toType(); }
JsonObjectConverter implements Converter<String,JsonObject> { @Override public String to(JsonObject userObject) { return userObject==null?null:userObject.encode(); }  @Override JsonObject from(String databaseObject); @Override String to(JsonObject userObject); @Override Class<String> fromType(); @Override Class<JsonObject> toType();  }