diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-05-07 00:08:49 +0200 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-05-07 00:08:49 +0200 |
commit | 42f36e66fec9554205ed7caaab33c1c7be0db90b (patch) | |
tree | a0b1034dbbec38cc2326ae32741dafe5e3efba4b /test/transform/resource/before/JacksonJsonProperty.java | |
parent | e69a991fcb141fb24de8afb433c753d35821b1c3 (diff) | |
download | lombok-42f36e66fec9554205ed7caaab33c1c7be0db90b.tar.gz lombok-42f36e66fec9554205ed7caaab33c1c7be0db90b.tar.bz2 lombok-42f36e66fec9554205ed7caaab33c1c7be0db90b.zip |
[fixes #1981][fixes #1961] Hardcoded some knowledge about how to copy jackson’s `@JsonProperty`.
Diffstat (limited to 'test/transform/resource/before/JacksonJsonProperty.java')
-rw-r--r-- | test/transform/resource/before/JacksonJsonProperty.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/transform/resource/before/JacksonJsonProperty.java b/test/transform/resource/before/JacksonJsonProperty.java new file mode 100644 index 00000000..f002dc48 --- /dev/null +++ b/test/transform/resource/before/JacksonJsonProperty.java @@ -0,0 +1,10 @@ +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Builder; +import lombok.Setter; + +@Builder +public class JacksonJsonProperty { + @JsonProperty("kebab-case-prop") + @Setter + public String kebabCaseProp; +} |