I have JSON data that I need to access from C#. The chapters element looks like this:
"chapters": [
[
2,
1416420134.0,
"2",
"546cdb2645b9efbff4582d51"
],
[
1,
1411055241.0,
null,
"541afe8945b9ef69885d3d74"
],
[
0,
1414210972.0,
"0",
"544b259c45b9efb061521235"
]
]
Here are my C# classes that are meant to contain that data:
public class test
{
public string[] chapters { get; set; }
}
public class TChapter
{
public test[] aa { get; set; }
}
How can I parse the JSON to C# objects?