Advertisement
Guest User

Untitled

a guest
Jan 28th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. class Program
  2. {
  3. static void Main(string[] args)
  4. {
  5. var auctionInfo = JsonConvert.DeserializeObject<IEnumerable<AuctionInfo>>(File.ReadAllText(@"C:\datei.json"));
  6. }
  7. }
  8.  
  9. public class AuctionInfo
  10. {
  11. public string BidState { get; set; }
  12.  
  13. public uint BuyNowPrice { get; set; }
  14.  
  15. public uint CurrentBid { get; set; }
  16.  
  17. public int Expires { get; set; }
  18.  
  19. public ItemData ItemData { get; set; }
  20.  
  21. public uint StartingBid { get; set; }
  22.  
  23. public string TradeState { get; set; }
  24. }
  25.  
  26. public class ItemData
  27. {
  28. public long AssetId { get; set; }
  29.  
  30. public byte RareFlag { get; set; }
  31.  
  32. public byte Rating { get; set; }
  33.  
  34. public long ResourceId { get; set; }
  35.  
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement