playframework/Play20 — pull request #990 by julienrf (2013-04-10 19:49:37+00:00)
Title: Add views.js.helper.json

Hi,

I think now this helper makes sense :)

See #761 for background.

This PR all to write the following in JavaScript templates:

```javascript
@(articles: List[Article])

new MyApplication(@helper.json(articles));
```

(provided there is an implicit `Writes[Article]` value in scope)
And it will produce a JSON object representing the list of articles.