I'm curious about the setup when publishing an Azure Function App via Visual Studio 2019.
Let's take an example local.settings.json.
{
"IsEncrypted": false,
"Values": {
"MySetting1": "asdfsdf",
"MySetting2": {
"MySetting2-1": false,
"MySetting2-2": false,
}
"MySetting3": [
"asdfsadf",
"asdfajlwsenr",
"awerjlnwaesrsdfsd"
]
}
}
How can I input through Visual Studio in the form above?
I found the method below, but do I have to set the config file only in the style below?
https://stackoverflow.com/questions/47025999/how-to-set-an-array-value-in-local-settings-json-file-in-azure-functions
"MySetting2:MySetting2-1": false,
"MySetting2:MySetting2-2": false,
"MySetting3:[0]:key1": "asdfsadf",
"MySetting3:[1]:key2": "asdfajlwsenr",
"MySetting3:[2]:key3": "awerjlnwaesrsdfsd",
Do I have to create each setting value in one line like the example in the link above?