For example, I have this Map value in Scala:
val m = Map( \"name\" -> \"john doe\", \"age\" -> 18, \"hasChild\" -> true, \"childs\" -
You need to tell jackson how to deal with scala objects: mapper.registerModule(DefaultScalaModule)
mapper.registerModule(DefaultScalaModule)