Putting JSON reponse into C# Class

  • Thread starter Thread starter Jason Munsterteiger
  • Start date Start date
J

Jason Munsterteiger

Guest
Please help, I am at a stand still.

I cannot figure out how to get this response format into an object.

I would like it to ultimately go into a Company.cs class.

I am trying to us Newton.Json.

**Response**

{ "items": [ { "id": 29858517, "companyName": " Union Second Market Bank", "createDate": "2017-05-27T19:04:30.307", "isActive": true, "userDefinedFields": [ { "name": "CustomerRanking", "value": "Golden" }, { "name": "CustomerSize", "value": null } ] }, { "id": 30070091, "companyName": "100% Recycled Paperboard Industries", "createDate": "2018-03-22T16:00:52.78", "isActive": true, "userDefinedFields": [ { "name": "CustomerRanking", "value": "Not Golden" }, { "name": "CustomerSize", "value": 50 } ] } ], "pageDetails": { "count": 2, "requestCount": 500, "prevPageUrl": null, "nextPageUrl": null } }


Jason Munsterteiger

Continue reading...
 
Back
Top