@Jacksonized: modify builders that they can be used by Jackson

This commit is contained in:
Jan Rieke committed 2020-03-03 13:01:48 +01:00
1 parent 59aa676111
commit 8be4b0ffe6
30 files changed
+1099 -70

No files matched your search

@@ -0,0 +1,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();
}
}