Exemple #1
0
        public static void LoadJson()
        {
            string filePath = WebApiConfig.FilePath();

            using (StreamReader r = new StreamReader(filePath))
            {
                string      json  = r.ReadToEnd();
                List <Item> items = JsonConvert.DeserializeObject <List <Item> >(json);
            }
        }