Release 0.2
The main goal of this release is to make BeanConverter more intelligent. Starting from this release it is possible to convert classes with similar shape, e.g. nullable T
to Option[T]
. Or, it can unbox Java classes, for example Character
to Char
. In this case you should be careful, because unboxing of null causes NullPointerException
. You can avoid it putting Scala type in Option
.
To achieve this, JavaTypeMapper
class is provided. It can convert primitive types and HList
s.