Be aware that ActiveSupport JSON decoder returns false when given an empty string:
Uh... really?
This is using Rails 2.3.4.
>> ActiveSupport::JSON::decode( "" )
=> false
>> ActiveSupport::JSON::decode( "false" )
=> false
Uh... really?
This is using Rails 2.3.4.