Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This is a proof-of-concept release with a working views_json plugin for Drupal 6. In the Views interface simply select the view style as JSON data document (Exhibit format only) and the row style as Unformatted (separator must be |). Because the template changes the page Content-type to text/javascript and immediately exits Drupal, the live preview will throw an error. This can be ignored; just save your view as a page and view it normally at the URL to get the JSON output. I forgot to remove a debug print statement at the top so you will see Array
(
* Major overhaul of the UI
* Visibility of tracking code based on Blocks visibility
* Tracking based on user, role and page specific settings
* Tracking of go/* url's (gotwo.module)
* Changed description text how to find the Google Analytics account number.
* Added mailto link tracking setting
* Added outgoing link tracking setting
* Added download link tracking setting
* Extended the default list of downloadable file extensions