Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "Id": 5,
- "AlbumKey": "2REC2ZDSFK",
- "ZipFillPath": "aaaa@gmail.com\2REC2ZDSFK",
- "NoOfPages": 3,
- "EmailID": "aaaa@gmail.com"
- }
- ]
- public class RootObject
- {
- public int Id { get; set; }
- public string AlbumKey { get; set; }
- public string ZipFillPath { get; set; }
- public int NoOfPages { get; set; }
- public string EmailID { get; set; }
- }
- RootObject myObj = JsonConvert.DeserializeObject<RootObject>(json);
- List<RootObject> myListObj = JsonConvert.DeserializeObject<List<RootObject>>(json);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement