@rwz The reason I brought up rails escaping was from David's comment above

```
 If you're using JSON to power some model and display that with Rails, we already escape anything output by <%= by default
```

Which I thought he was suggesting would do the right thing. It doesn't help what I'm trying to do, I know realize it does make it safe by default. However if you actually want to render JSON into a template you want something like this:

```ruby
Jbuilder.encode{ |j| j.foo 'bar<script>' } # => "{\"foo\":\"bar\u003Cscript\u003E\"}"
```

Which is possible if you use ActiveSupport::JSON and enable escape_html_entities_in_json. Unfortunately I can't figure out how to use ActiveSupport::JSON's escaping without monkey patching target! to revert this change.

I'd like to make it easier for someone who realizes that they need to be able to render into ERB without monkey patching. Ideas?