playframework/Play20 — pull request #152 by rschellhorn (2012-02-29 15:10:25+00:00)
Title: Json to form binding is broken for number and longNumber formats

The Json object is deconstructed to a Map[String, String]. Numbers are represented by their double format String, which in their turn cannot be parsed as an Integer or Long.

JsNumber stores values as a BigDecimal. If the value represents a real, it should be printed to a real string representation (so the long value, not the double value).