title: Render a JBuilder view in html view
body: <p>I've created a json view with JBuilder. But I want to preload this into a data object, so Backbone has access to the data early on without fetching for it.</p>
  
  <p>How can I render the list.json.jbuilder view into my list.html.erb view?</p>
  
  <p>Normally without jbuilder, I'd do something like this:</p>
  
  <pre><code>&lt;div data-list="&lt;%= @contents.to_json %&gt;"&gt;&lt;/div&gt;
  </code></pre>