mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 16:21:25 +00:00
@Jacksonized: modify builders that they can be used by Jackson
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import java.util.List;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
|
||||
@lombok.extern.jackson.Jacksonized
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
@lombok.Builder(access = lombok.AccessLevel.PROTECTED)
|
||||
class JacksonizedBuilderSimple<T> {
|
||||
private final int noshow = 0;
|
||||
private final int yes;
|
||||
private List<T> also;
|
||||
private int $butNotMe;
|
||||
}
|
||||
Reference in New Issue
Block a user