I already have these structure of class object in my web service develop by another team.
I need to post JSON data to class CartObject (int CustomerID, List<CartListObject> CartList).
Here the elements inside CartListObject :
public int ItemID { set; get; }
public ItemObject Item { set; get; }
public int Quantity { set; get; }
ItemObject :
public int ID { set; get; }
public string Name { set; get; }
public List<ItemImageObject> ItemGallery { set; get; }
ItemImageObject :
public int ItemID { set; get; }
public string ImageName { set; get; }
I have no idea how is the JSON data of CartObject that I should post to web service.
Any idea is appreciated.