Hi!
I would like to reda Json array in C# . How should I do that? My problem is to read json arrays ..
"Cars": {
"Volvo": [ "S40", "s60", "v40", "v60", "v90"],
"BMW": [ "X3", "X5", "X6", "520", "530", "330", MG"]
},
Public void Check (string input)
{
If input == car.volvo
Read all volvo cars
Else if (input == car.BMW)
Read all BMW cars
…
}
What I have tried:
I would like to reda Json array in C# . How should I do that? My problem is to read json arrays ..
"Cars": {
"Volvo": [ "S40", "s60", "v40", "v60", "v90"],
"BMW": [ "X3", "X5", "X6", "520", "530", "330", MG"]
},
Public void Check (string input)
{
If input == car.volvo
Read all volvo cars
Else if (input == car.BMW)
Read all BMW cars
…
}