I agree that YearMonth should probably go to a separate issue to keep this simple. FYI: https://github.com/FasterXML/jackson-modules-java8/blob/master/datetime/src/main/java/com/fasterxml/jackson/datatype/jsr310/deser/YearMonthDeserializer.java BTW: I already pointed out via feedback to the JCP that Java is lacking a generic API for mapping custom datatypes that can be used by JPA, JSON-B, JAX-B, and tons of other frameworks. Currently you have to write all that custom adapter code for every framework you are using based on different and often proprietary APIs. Just a side note that is entirely out of scope for this issue. |