Пример #1
0
 private static T Deserialize <T>(IFileLocation path)
 {
     using (StreamReader reader = path.OpenText())
         return(JsonConvert.DeserializeObject <T>(reader.ReadToEnd()));
 }