One of the features in Rails 2.3 was json key quoting. I was wondering if there was an easy way to turn the key quoting off or modify the way quoting is done (change to single quotes for example).
I'd like to output a json format that Google's Visualization API will accept (http://code.google.com/apis/visualization/documentation/dev/implementing_data_source.html#examples). The keys don't have quotes.
From the Rails release notes:
If you look up the spec on the “json.org” site, you’ll discover that all keys in a JSON structure must be strings, and they must be quoted with double quotes. Starting with Rails 2.3, we do the right thing here, even with numeric keys.