コード例 #1
0
 public string ToJson()
 {
     BeforeSerialize();
     return(TJson.ToJson(this, GetJasonDataType()));
 }
コード例 #2
0
 public string ToJson()
 {
     BeforeSerialize();
     return(TJson.ToJson(this, this.GetType()));
 }
コード例 #3
0
ファイル: JsonHelper.cs プロジェクト: windygu/zcgl
        public static T DeepClone <T>(this TJson Source) where T : TJson
        {
            string jsonString = Source.ToJson();

            return(jsonString.ParseJSON <T>());
        }