I am trying to generate a chart using Google Charts API, but I can\'t seem to get the data in the required format.
serializeJSON(data) in coldfusion gives m
serializeJSON(data)
This is basically what you need. Just plug in your query data.