When I try to parse the following JSON in ruby (or at http://json.parser.online.fr/) I get an error, but I can't figure out why.
JSON to parse:
"{\"RED\"=>{\"t1\"=>0, \"t2\"=>2},
\"DANGEROUS_SITUATION\"=>{\"t1\"=>28, \"t2\"=>33},
\"SUB\"=>{\"t1\"=>1, \"t2\"=>0}, \"RED_CARS\"=>{\"t1\"=>0, \"t2\"=>0},
\"CRASH\"=>{\"t1\"=>10, \"t2\"=>6}, \"TRICKS\"=>{\"t1\"=>2,
\"t2\"=>3}, \"FREE_TRIES\"=>{\"t1\"=>9, \"t2\"=>5},
\"OWNERS\"=>{\"t1\"=>48, \"t2\"=>52}, \"ERRORS\"=>{\"t1\"=>5,
\"t2\"=>9}, \"YELLOW_CARS\"=>{\"t1\"=>0, \"t2\"=>0},
\"FANS\"=>{\"t1\"=>40, \"t2\"=>41}}"
Edit: as ceommented below, this is not Json, but a stringified Ruby hash, is there a way to convert this in to a Ruby hash?