My configuration file looks like:
"app": {
"Token": "sfasgeagesagasdgdas",
"Address": "https://localhost",
"User": "me",
"Password": "pwd123",
"Users": [
{
"Id": "123456",
"Username": "me"
},
{
"Id": "234567",
"Username": "notme"
}
]
}
I can get the token and address by:
Configuration["app:Token"];
But this approach does not work with json array values. How should I use json array?