blob: c0bccfaeece7458cca693b4b5010eb7b2ec9be39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//version 8: Jackson deps are at least Java7+.
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSetter;
import com.fasterxml.jackson.annotation.Nulls;
import lombok.Builder;
import lombok.Setter;
@Builder
public class JacksonJsonProperty {
@JsonProperty("kebab-case-prop")
@JsonSetter(nulls = Nulls.SKIP)
@Setter
public String kebabCaseProp;
}
|