I create a JSON object in my html view using JSON.stringify(object) which outputs the following JSON object
{
"0X1W6": "{\"type\":\"Hourly\",\"hr\":\"12\",\"min\":\"30\",\"every_hr\":\"5\"}",
"Tk18f": "{\"type\":\"Daily\",\"hr\":\"12\",\"min\":\"30\",\"days_checked\":[1,4]}"
}
How do I convert this to a ruby object which would look something like this:
[
{ :type => 'Hourly', :hr => 12, :min => 30, :every_hr => 5}
{ :type => 'Daily', :hr => 12, :min => 30, :days_checked => [1,4]}
]