In code asp.net i get result like following:
[ { "CustomerId": 1, "Name": "Akki", "Country": "india" }, { "CustomerId": 3, "Name": "Jyothi", "Country": "france" }, { "CustomerId": 4, "Name": "Fatima", "Country": "india" }, { "CustomerId": 5, "Name": "Ankita1", "Country": "india" }, { "CustomerId": 6, "Name": "Yash", "Country": "india" }, { "CustomerId": 7, "Name": "Garauv", "Country": "india" }, { "CustomerId": 8, "Name": "grgr", "Country": "gegerg" }, { "CustomerId": 9, "Name": "prashant", "Country": "india" }, { "CustomerId": 10, "Name": "Rajesh", "Country": "Austerila" }, { "CustomerId": 11, "Name": "Fatima", "Country": "India" }, { "CustomerId": 12, "Name": "Rajesh", "Country": "Sydney" }, { "CustomerId": 13, "Name": "", "Country": "" } ]
i want to format above Array.json like following
[
{
"CustomerId": 1,
"Name": "Akki",
"Country": "india"
},
{
"CustomerId": 3,
"Name": "Jyothi",
"Country": "france"
},
{ "CustomerId": 4,
"Name": "Fatima",
"Country": "india"
}
]
and print on page
What I have tried:
i tried various thing ,but could not successes