This was suppose to an easy fix, it however proving very elusive. I keep getting the error
An error occurred while starting the application.JsonReaderException: Invalid property identifier character: {. Path '', line 2, position 2.Newtonsoft.Json.JsonTextReader.ParseProperty()FormatException: Could not parse the JSON file. Error on line number '2': '{{'.Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(bool reload) JsonReaderException: Invalid property identifier character: {. Path '', line 2, position 2.
I working on an .net core web app. I have two web apps in the same solution. I moved the appsettins file from the working Web app to the one giveing the problem and the situation is still the same. Cant figure out what I am missing
below is my appsettings.json file
{
"Data": {
"UserDbConn": {
"connString": "Server=DbServer;Database=BookDB; Trusted_Connection=True;MultipleActiveResultSets=true"
}
},
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning"
}
}
}