Esempio n. 1
0
 public static T DeserializeData <T>(string relativePath, JsonSerializerSettings settings)
 {
     return(JSONSerialization.DeserializeFile <T> (DataPath + relativePath, settings));
 }
Esempio n. 2
0
 public static void SerializeData(object obj, string relativePath)
 {
     JSONSerialization.SerializeObject(obj, DataPath + relativePath);
 }