你好,我在 json 中有一个看起来像这样的响应
{
"el": {
"reviewed_percentage": "0%",
"completed": "16%",
"untranslated_words": 8,
"last_commiter": "zaabalonso",
"reviewed": 0,
"translated_entities": 1,
"translated_words": 1,
"last_update": "2012-07-06 13:08:10",
"untranslated_entities": 5
},
"en": {
"reviewed_percentage": "0%",
"completed": "100%",
"untranslated_words": 0,
"last_commiter": "zaabalonso",
"reviewed": 0,
"translated_entities": 6,
"translated_words": 9,
"last_update": "2012-07-06 12:28:48",
"untranslated_entities": 0
},
"gl_ES": {
"reviewed_percentage": "0%",
"completed": "33%",
"untranslated_words": 7,
"last_commiter": "zaabalonso",
"reviewed": 0,
"translated_entities": 2,
"translated_words": 2,
"last_update": "2012-07-06 13:06:46",
"untranslated_entities": 4
}
}
我怎样才能像使用javascript那样转换它
[{
"language"="el",
"reviewed_percentage": "0%",
"completed": "16%",
"untranslated_words": 8,
"last_commiter": "zaabalonso",
"reviewed": 0,
"translated_entities": 1,
"translated_words": 1,
"last_update": "2012-07-06 13:08:10",
"untranslated_entities": 5},
........etc.
]