Hye. I've this json string returned by a php script (2 different mysql queries on 2 different tables): (sorry, that's a french application)
[{
"statut":"2",
"0":"2",
"lib_statut":"En cours de traitement",
"1":"En cours de traitement",
"appelant":"GUEDIDER Jacqueline",
"2":"GUEDIDER Jacqueline",
"nom":"Virginie SORREL",
"3":"Virginie SORREL",
"date_creation":"05\/04\/2012 \u00e0 14:14:55",
"4":"05\/04\/2012 \u00e0 14:14:55",
"titre":"FACEO - Plus de message d'attente",
"5":"FACEO - Plus de message d'attente"
},
{
"nom":"Jonathan MORET",
"0":"Jonathan MORET",
"date_inter":"06\/04\/2012 \u00e0 11:18:07",
"1":"06\/04\/2012 \u00e0 11:18:07"
},
{
"nom":"Jonathan MORET",
"0":"Jonathan MORET",
"date_inter":"20\/04\/2012 \u00e0 08:22:53",
"1":"20\/04\/2012 \u00e0 08:22:53"
}]
First Question: Does anybody knows why each row is recorded twice (first with an index, second with column name) ?
Second: How to parse both objects in my jquery script ?
Thanks in advance.