Ruby templating library with JSON, BSON, XML and MessagePack support


RABL (Ruby API Builder Language) is a Rails and Padrino Ruby templating system for generating JSON, XML, MessagePack, and BSON.

It allows one to easily:
 * create arbitrary nodes named based on combining data in an object
 * pass arguments to methods and store the result as a child node
 * render partial templates and inherit to reduce code duplication
 * rename or alias attributes to change the name from the model
 * append attributes from a child into a parent node
 * include nodes only if a certain condition has been met

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install ruby-rabl