I have json file, how can I deserialize this? As I understood json file had array which has 3 elements, but I didn't understand what is inside elements Id, Name, Driver and data inside Driver what is this (Driver) object?
[
{
"Id":1,
"Name":"Renault Magnum",
"Driver":{
"Name":"John",
"Surname":"Dou",
"Age":35,
"Experience":10
},
"State":"base"
},
{
"Id":2,
"Name":"Volvo FH12",
"Driver":{
"Name":"Jack",
"Surname":"Dou",
"Age":55,
"Experience":30
},
"State":"base"
},
{
"Id":3,
"Name":"DAF XF",
"Driver":{
"Name":"Jane",
"Surname":"Dou",
"Age":45,
"Experience":15
},
"State":"base"
}
]