php - Is this a correct JSON Data Structure? -


I changed my php result array to json. Now I want to know that this is in the correct Jason format. My code echo json_encode ($ line); I have to use it with jquery auto full plugin ...

  {"0": "1", "id": "1", "1": " "Algeria", "country": "Algeria", "country": "Algeria", "country": "country": "country" "Angola"} {"0": "4", "id": "4", "1": "Anguilla": "3", "id": "3", "1": "Angola", "Country" "" "", "Country": "Anguilla"} {"0": "5", "id": "5", "1": "Antigua", "country": "antigua"} {"0": "6 "7", "id": "7", "1": "Armenia", "id": "6", "1": "Argentina", "country": "Argentina"} {"0" "Aruba": "Aruba", "Aruba", "Aruba", "Aruba", "Aruba", "Aruba", "Aruba", "Aruba" "9" "10", "id": "10", "1": "Austria", "1" "Country": "o 0 ":" 26 "," id "" Bulgaria "," id ":" 11 "," id ":" 11 "," 1 ":" azerbaijan "," country ":" azerbaijan "} 0 "Country": "Bulgaria"} {"0": "27", "id": "27", "1": "Burkina Faso", "Country": Burkina Faso "}  

each object as ] and the other as comma

and the object that "Bulgaria", "country": "26", "id": "26", "id": Bulgaria breaks like this

"[" "0": "id", "id", "id", "id", " "Albania", "Country": "Albania"}, {"0": "2", "id": Bulgaria, "country": "country": "Bulgaria"}

"" "2", "1": "Algeria", "Country", "" "," "", "" "," "", "3", "id": "3", "1": "Angola" "Anguilla"}, "Anguilla"}, "Angola"}, "Anguilla", "Angola"}, "": "5", "id": "4", "1": "Anguilla", "Country": " "6", "id": "6", "1": "Argentina", "id": "5", "1": "Antigua" "Country": "Antigua"}, {"0": " , "Id": "7", "1": "id": "id" Armenia "," Country ":" Armenia "}, {" 0 ":" 8 "," id "" "" "" "," Country ":" Australia "," Country ":" Australia "11", "id": "11", "9", "id": "9", "1": "" "11", "id" "" "," Id ":" 10 "," id ":" 10 "," 1 ":" Austria "," Country ":" Austria "}, {" 0 ":" 11 "," id "" Azerbaijan " "": "27", "27", "ID": "26", "1": "Bulgaria", "Country": "Bulgaria"}, {"0": "27" "ID": "27", "1": "Burkina Faso", "C country": "Burkina Faso"}]


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -