I have a JSON string in rails as shown below:
[{\"content\":\"1D\",\"createdTime\":\"09-06-2011 00:59\"},{\"content\":\"2D\",\"createdtime\":\"09-06-2011 08:00
ActiveSupport::JSON.decode(string) will decode that for you into a delicious consumable object on the server side.
ActiveSupport::JSON.decode(string)