title: Spring MVC mapping view for Google-GSON?
body: <p>Does anyone know if there is a Spring MVC mapping view for <a href="http://code.google.com/p/google-gson/" rel="noreferrer">Gson</a>? I'm looking for something similar to <a href="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/servlet/view/json/MappingJacksonJsonView.html" rel="noreferrer">org.springframework.web.servlet.view.json.MappingJacksonJsonView</a>. </p>
  
  <p>Ideally it would take my ModelMap and render it as JSON, respecting my renderedAttributes set in the ContentNegotiatingViewResolver declaration</p>
  
  <p>We plan to use Gson extensively in the application as it seems safer and better than Jackson. That said, we're getting hung up by the need to have two different JSON libraries in order to do native JSON views.</p>
  
  <p>Thanks in advance! </p>
  
  <p>[cross-posted to <a href="http://forum.springsource.org/showthread.php?p=320106" rel="noreferrer">Spring forums</a>]</p>