How do I create my own json mapping serialization/desrialization ?
Using spring 3.1 annotions.
@RequestMapping(value = "/Save", method = RequestMethod.POST)
public String saveDTO(@Valid @RequestBody final myDTO myDTO,Model model){
where myDTO contains a LocalDate, and I have correctly created the json using jquery/javascript, the error message is so :
Caused by: java.lang.IllegalArgumentException: Invalid format: "14-Feb-2012" is malformed
at "-Feb-2012" at org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:866)