playframework/Play20 — pull request #225 by jroper (2012-04-06 20:50:47+00:00)
Title: [#323] Implemented single, customisable global ObjectMapper

This fixes issue 323, as talked about here:

https://groups.google.com/forum/?fromgroups#!searchin/play-framework/objectmapper/play-framework/9CkHWRaRs_g/GsAp5Wg5NOoJ

I've implemented tests for this, and run them, and they pass. It supports still using play.libs.Json with no application running, and so is backwards compatible with old test code that does use Json without a running application, but if one is running, it will load a per application configured ObjectMapper, which may be provided using the ObjectMapperProvider interface and json.objectMapperProvider configuration parameter.