Click here to Skip to main content
15,891,684 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am deserializing a Json document to an object and converting from List collection to JsonArray So that i should be able to iterate through the values to display on a listview control in xamarin android.Please i am still a beginner in c#.

What I have tried:

C#
public static void ConvertJson()
{
      string data = getData();
      List<Clients> client = new List<Clients>();
      JsonArray jsonArray = new JsonArray();

      client = JsonConvert.DeserializeObject<List<Clients>>(data);
      jsonArray = (JsonArray)result;


 }
Posted
Comments
Kornfeld Eliyahu Peter 28-Jun-16 8:04am    
http://www.newtonsoft.com/json/help/html/SerializingCollections.htm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900