Incoming JSON:
{
"start_date": 12345
},
{
"start_date": 12345
},
ItemDTO:
public class ItemDto {
Long start_date;
}
[TODO] Transform the start_date
field to date
Outgoing JSON:
{
"date": 12345
},
{
"date": 12345
},
How would I go about accomplishing the TODO
part of this process? I've tried using @JsonProperty
on the variable and on the getters and setters.