See code below. Currently the behavior of the JsonMarshaller is somewhat
surprising. It would be a better to throw with a clear message.
@Test
public void subclass() {
assertEquals("{}", TwoLattes.createMarshaller(Foo.class).marshall(new Foo()).toString());
}
@Entity static class Foo extends Bar {}
static class Bar {
@Value String foo = "bar";
}
Original issue reported on code.google.com by pascallo...@gmail.com on 10 Jul 2010 at 8:13
Original issue reported on code.google.com by
pascallo...@gmail.com
on 10 Jul 2010 at 8:13