twitter/finatra — pull request #126 by Xorlev (2014-03-21 04:20:32+00:00)
Title: [WIP] ObjectMapper reuse & config

Enables ObjectMapper. ObjectMapper can be accessed & configured.

Additionally, added a per-request method which allows overriding the ObjectMapper for a specific request

It's inefficient to make new ObjectMappers with every request and incur annotation processing overhead etc.

I'm by no means a Scala expert, I'd love some feedback on where this could be taken. I'm especially interested in sharing an ObjectMapper to an entity decoding function.