PROTIP: Rails + JSON + Flex

I had problems getting the Flex JSON parser to consume the default Rails JSON output of #to_json, and I managed to find this setting to put in my environment.rb:

ActiveSupport::JSON.unquote_hash_key_identifiers = false

And Flex happily drank down the JSON I fed it :)

Leave a Reply