我怎样才能转换这个json
{
"dates": [
"12-10-2012",
"12-11-2012",
"13-11-2012",
"22-11-2012",
"23-11-2012",
"2-12-2012"
]
}
成这样的数组
var array = ["12-10-2012", "12-11-2012", "13-11-2012", "22-11-2012", "23-11-2012", "2-12-2012"]