How do I use Ruby's json_builder to create a JSON object within a JSON array? For example, how do I create the following structure?
{
Object: [
"x",
{
"Foo" : "Bar"
},
"y"
]
}
Note: these types of structures are used in AWS's Cloud Formation API