Пример #1
0
 public static T FromSwifterJson <T>(this string str)
 {
     return(SwifterHelper.Deserialize <T>(str));
 }
Пример #2
0
 public static string ToSwifterJson <T>(this T obj, string dateTimeFormat = null)
 {
     return(SwifterHelper.Serialize(obj, dateTimeFormat));
 }
Пример #3
0
 public static object FromSwifterJson(this string str, Type type)
 {
     return(SwifterHelper.Deserialize(str, type));
 }