sensio/SensioFrameworkExtraBundle — pull request #152 by Gregwar (2012-08-09 08:20:04+00:00)
Title: Adding a @Json annotation

Hello,

I suggest adding a `@Json` annotation for controllers in order to render the JSON-encoded data to users, which would be used like this:

```php
42);
}
```

And rendered as follow with the good headers and kernel charset :

```
{"something":42}
```