playframework/playframework — pull request #1634 by jroper (2013-09-11 04:41:18+00:00)
Title: Play 2.2.0-RC1 - Json Bodyparser returns incorrect error message when fed invalid Json

Tested using java @BodyParser.Of(BodyParser.Json.class)

body of incoming message contains invalid /badly formed json, error response indicates that xml body is expected:

For request 'POST /xyz' [Expecting xml body]