Skip to content

Release 0.2

Compare
Choose a tag to compare
@limansky limansky released this 06 Aug 10:38
· 458 commits to master since this release

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 HLists.