I am trying to deserialize a JSON response. I have no familiarity with C#, so any help is appreciated. Here's the JSON.
{
"Bookmark": ""
"Items": [
[
{
"Name": "Item",
"Value": "A1233032"
},
...
],
{
"Name": "Item",
"Value": "B33032"
},
...
],
...
}
}
My C# code.
namespace Response
{
using System;
using System.Collections.Generic;
using Terrasoft.Core.Entities;
public class Item {
public string Name;
public string Value;
}
public class Items {
public List<Item> ItemList = new List<Item>();
}
public class ItemResponse {
public List<Items> Items = new List<Items>();
}
}
Explanations that explains very basic concepts in C# would be appreciated. Thanks!