mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 12:22:31 +00:00
13 lines
326 B
Java
13 lines
326 B
Java
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();
|
|
}
|
|
}
|