You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In switching to JSON, I thought my AppSettings would get a bit cleaner. In my web.config file I store an array of small objects (Text, ControllerName, ActionName) as a string of JSON. When I read in that setting, I throw it at JSON to parse out the bits of the elements of this array of objects. But when I put this into config.json, I get an "Unsupported JSON token 'StartArray' was found" at startup. Why? It is valid JSON. Why arbitrarily restrict the form? What if one of my settings needs to be an array of objects e.g.: