novus/salat — pull request #61 by alexandreagular (2012-11-21 15:44:55+00:00)
Title: Bug fix on Long extraction from JInt objects

Long where not extracted properly when using grater[SomeCaseClass].fromJSON(obj).

The reason for that was that grater was failing to recognise the case class's attribute as a long, because classOf[Long].getName in scala returns "long" instead of "scala.Long" (scala optimization).

The fix proposed here is on the isLong function, in TypeMatchers.