jbuilder
Ruby › API Builder and Discovery: “Create JSON structures via a Builder-style DSL.”
Gems › API: “Jbuilder gives you a simple DSL for declaring JSON structures that beats massaging giant hash structures. This is particularly helpful when the generation process is fraught with conditionals and loops.”