scalatra/scalatra — pull request #157 by philwills (2012-02-07 18:04:13+00:00)
Title: Add JSONP support to the JsonSupport trait.

We wanted JSONP support for an API we were using Scalatra for and I couldn't see a decent way of doing it without reimplementing or modifying JsonSupport.

I think this should be completely backwards compatible and I've added a test to that effect.

jsonpCallbackParameterNames seems almost Springesque in its verbosity, so if anyone can think of something more concise that conveys the meaning, that would be welcome.