Guest User

Untitled

a guest
Sep 24th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. public override void CreateNewOutputRows()
  2. {
  3. String jsonFileContent = File.ReadAllText(@"C:UserstngoFileFile1.json");
  4.  
  5. JavaScriptSerializer js = new JavaScriptSerializer();
  6.  
  7. List<IGData> igdatas = js.Deserialize<List<IGData>>(jsonFileContent);
  8.  
  9. foreach (IGData igdata in igdatas)
  10.  
  11. {
  12.  
  13. Output0Buffer.AddRow();
  14.  
  15. Output0Buffer.piececount = igdata.piececount;
  16.  
  17. Output0Buffer.wgt = igdata.wgt;
  18. }
  19. }
Add Comment
Please, Sign In to add comment