nesquena/rabl — Issue #133: Convert Collection of Hashes to Array of String
Author: sushengloong
Created: 2011-10-29 15:25:15+00:00
State: open

Hi,

I have a collection of hashes which I would like to render as a simple array of string values. For example, instead of

[{"name" => "Ruby"}, {"name" => "Python"}, {"name" => "Java"}]

I want it to be

["Ruby", "Python", "Java"]

May I know if this is achievable in rabl? Thank you.

Sheng-Loong