blob: 1e3bd0fc7d31af5fbbb4e7f242d9c4ed37261d14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
public class JacksonizedSuperBuilderSimple {
@lombok.extern.jackson.Jacksonized
@lombok.experimental.SuperBuilder
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
public static class Parent {
int field1;
}
public static void test() {
Parent x = Parent.builder().field1(5).build();
}
}
|