import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import ru.sberbank.insurance.models.UserAction;
public class NewDataRequest {
@JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd'T'HH:mm:ss'Z'")
Date date_begin;
double numb;
int point;
}
After serialization I have {"date_begin":"2017-06-08","numb":122.0,"point":61}
Where is problem?
After serialization I have
{"date_begin":"2017-06-08","numb":122.0,"point":61}
Where is problem?