摘要: public static class NewtonJSONHelper { public static string SerializeObject(this object obj) { return JsonConvert.SerializeObject(obj, Formatting.Indented, new JsonSerializerSettings{ ReferenceLoopHandling = ReferenceLoopHandling.Ignore}); } public static T DeserializeObject<T>(this string dat 阅读全文
posted @ 2011-10-21 14:44 万德源 阅读(1559) 评论(0) 推荐(0) 编辑