/// <summary> /// json字符串转对象,序列化 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="json"></param> /// <returns></returns> public static T JSONStringToObject <T>(string json) { return(StreamSerializer.JSONStringToObject <T>(json)); }
/// <summary> /// json字符串转对象,序列化 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="json"></param> /// <returns></returns> public virtual T JSONStringToObject <T>(string json) { return(StreamSerializer.JSONStringToObject <T>(json)); }