예제 #1
0
파일: Program.cs 프로젝트: zhang919/canvas
 private static T Deserialize <T>(IFileLocation path)
 {
     using (StreamReader reader = path.OpenText())
         return(JsonConvert.DeserializeObject <T>(reader.ReadToEnd()));
 }