title: Binding json to the DOM
body: <p>I am looking for a library that gives me a lightweight method of binding json to existing dom elements rendered by a rails view template. </p>
  
  <p>The reason I need to do this is that my app allows in place editing (using best_in_place) and as a result of those edits other data on my pages needs to be updated and displayed back to the user in real time. Within an edit success callback, I am making an ajax call to my API to grab a json object containing the recalculated values I want to display. Just need to bind that result to existing DOM elements. </p>
  
  <p>I am we'll aware of libraries like angular.js and knockout.js, and while I have not ruled them out, I am hoping to identify a lighter option. Maybe a jquery plugin. </p>
  
  <p>I did find <a href="https://code.google.com/p/jquery-load-json/" rel="nofollow">jquery-load-json</a>, but it is not quite what I'm looking for. It wants to render the HTML for me based on a template. I just need the dynamic binding of json to existing Dom elements. </p>
  
  <p>I'd welcome any thoughts, and am open to other ways of accomplishing this.</p>