@Test public void fromValidJsonShouldConvertToJsonArray(){ JsonArray from = converter.from(SOME_VALID_JSON_ARRAY); Assert.assertNotNull(from); Assert.assertEquals(1,from.size()); }
@Override public JsonArray from(String databaseObject) { return databaseObject==null?null:new JsonArray(databaseObject); }
JsonArrayConverter implements Converter<String,JsonArray> { @Override public JsonArray from(String databaseObject) { return databaseObject==null?null:new JsonArray(databaseObject); } }
JsonArrayConverter implements Converter<String,JsonArray> { @Override public JsonArray from(String databaseObject) { return databaseObject==null?null:new JsonArray(databaseObject); }  }
JsonArrayConverter implements Converter<String,JsonArray> { @Override public JsonArray from(String databaseObject) { return databaseObject==null?null:new JsonArray(databaseObject); }  @Override JsonArray from(String databaseObject); @Override String to(JsonArray userObject); @Override Class<String> fromType(); @Override Class<JsonArray> toType(); }
JsonArrayConverter implements Converter<String,JsonArray> { @Override public JsonArray from(String databaseObject) { return databaseObject==null?null:new JsonArray(databaseObject); }  @Override JsonArray from(String databaseObject); @Override String to(JsonArray userObject); @Override Class<String> fromType(); @Override Class<JsonArray> toType();  }