The ASP.Net 5 team dropped JavaScriptSerializerin favor of the widely used package Newtonsoft.Json, but they provided JsonOutputFormatter and JsonInputFormatter for use with MVC to be able to return objects more directly.
For AppSettingReaderyou need to look at the new ASP.Net 5 configuration model . This is described in detail in several blogs during its construction. These messages contain only detailed information on how to load individual fields, but tests in the Model Model show that you can directly link to an object.
source
share