Here is my json data file content:
{
"mercedes": {
"model" : "GLS 350 d 4MATIC",
"code" : "MB-GLS",
"year": 2015
},
"bmw": {
"model" : "BMW 420d Cabrio",
"code" : "BM-420D",
"year": 2017
},
"audi": {
"model" : "A5 Sportback 2.0 TDI quattro",
"code" : "AU-A5",
"year": 2018
},
"tesla": {
"model" : "Model S",
"code" : "TS-MOS",
"year": 2016
},
"test_drive": 0,
"path": "D:\\Mizz\\cars\\"
}
Firstly, is my json structure right? Then I want to get "model" properties as a list. But I have no idea about this.