@Test public void testBundle() { Assert.assertTrue(ConstraintsConverter.newBundle().getSupportedJavaConstraints().contains(Serialize.class)); Assert.assertTrue(ConstraintsConverter.newBundle().getSupportedJSONConstraints().contains(new SerializeConverter().getJSONId())); }
@Override public String getJSONId() { return "Serialize"; }
SerializeConverter implements ConstraintConverter<Serialize> { @Override public String getJSONId() { return "Serialize"; } }
SerializeConverter implements ConstraintConverter<Serialize> { @Override public String getJSONId() { return "Serialize"; }  }
SerializeConverter implements ConstraintConverter<Serialize> { @Override public String getJSONId() { return "Serialize"; }  @Override Class<Serialize> getSupportedConstraint(); @Override String getJSONId(); @Override Serialize fromJSON(Model mo, JSONObject in); @Override JSONObject toJSON(Serialize serialize); }
SerializeConverter implements ConstraintConverter<Serialize> { @Override public String getJSONId() { return "Serialize"; }  @Override Class<Serialize> getSupportedConstraint(); @Override String getJSONId(); @Override Serialize fromJSON(Model mo, JSONObject in); @Override JSONObject toJSON(Serialize serialize);  }