Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2015
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. Public Class RootObject
  2.  
  3. Public Property ResultList_Main As List(Of ListWrapper_Main)
  4.  
  5. Public Class ListWrapper_Main
  6. Public Property WeaponInfo As List(Of ListWrapper)
  7. End Class
  8.  
  9. Public Class ListWrapper
  10. Public Property value As String
  11. Public Property quantity As String
  12. End Class
  13. End Class
  14.  
  15.  
  16. jsonObject = jsSerializer.Deserialize(Of RootObject)(responseFromServer)
  17.  
  18. For Each Itemdetail1 In jsonObject.ResultList_Main
  19. For Each Itemdetail2 In Itemdetail1.WeaponInfo
  20. 'Would like to display WeaponInfo + Value + Quantity here
  21. Next
  22. Next
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement