blob: efdda29de288d0262f597a48e0c9c104ee77ca0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//version 8:
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;
}
|