Builder-style JSON views for Rails applications

I have been scratching an itch lately that I am pretty excited about ...

A lot of my Ruby and Rails coding includes building RESTful APIs, typically presenting data (representations) in both JSON and XML formats. In my opinion, these representations are part of the view layer of the application. That is, I want to be able to peer into the views folder and see files that correspond to my controller actions.

Rails provides great support for XML views via Builder, but JSON representations do not have the same support.

Jsonify provides this ability.

Posterous theme by Cory Watilo