Question

I am getting an error something like tis when convertning string to object. **Sayfalar' type doent support for the array series.

var serializer = new JavaScriptSerializer();

var jsonObjectKnt = serializer.Deserialize<Sayfalar>(data);
// **I got error here 
my data like that 
data:"[{\"Id\":1,\"MenuAd\": \"ANASAYFAccz\",\"Baslik\": \"BASLIK ANA cccz\".....
Was it helpful?

Solution

After removing the square brackets, it works fine.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top