FasterXML/jackson-datatype-joda — pull request #6 by cstivers78 (2012-06-21 09:37:06+00:00)
Title: Local time

Added support for LocalTime. Some refactoring too (see below for notes).

CHANGES

- Moved JodaTime formatters/parsers into the classes directly using them, rather than in base classes. Reason: didn't make sense to have multiple in the base class, if they were all different and only used by a single child instance.
- Parsers that handled allow either Array, Number or String values were previously doing a check for and parsing Arrays outside of the flow for other types. I moved it into the switch statement, thinking it is much clearer. I left the conditional `jp.isExpectedStartArrayToken()` because I was not sure the impact in removing it would be. Reason: readability and maintainability, it is easier to see there is a choice now.
- Added support for LocalTime. Includes adding deserializer, serializer and corresponding tests