Be aware that ActiveSupport JSON decoder returns false when given an empty string:

>> ActiveSupport::JSON::decode( "" )
=> false
>> ActiveSupport::JSON::decode( "false" )
=> false

Uh... really?

This is using Rails 2.3.4.