Expose views as JSON
Sounds that you need Views Datasource module:


  Views Datasource is a set of plugins for Drupal Views for rendering content in a number of shareable, reusable formats based on XML, JSON and XHTML.