摘要: var InterestKeywordListString = $("#userInterestKeywordLabel").html(); var InterestKeywordListArr = []; var t = ''; for (var i = 0; i < InterestKeywordListString.length; i++) { var tmp = InterestKeywordListString.charAt(i); if (tmp != '' && tmp != ',') { 阅读全文
posted @ 2011-07-02 15:07 caicainiao 阅读(4114) 评论(0) 推荐(1)
摘要: 首先,需要导入此DLL:System.ServiceModel.WebSystem.Runtime.SerializationJSON是专门为浏览器中的网页上运行的JavaScript代码而设计的一种数据格式。在网站应用中使用JSON的场景越来越多,本文介绍 ASP.NET中JSON的序列化和反序列化,主要对JSON的简单介绍,ASP.NET如何序列化和反序列化的处理,在序列化和反序列化对日期时间、集 合、字典的处理。 一、JSON简介 JSON(JavaScript Object Notation,JavaScript对象表示法)是一种轻量级的数据交换格式。 JSON是“名值对”的集合。结构 阅读全文
posted @ 2011-07-02 11:31 caicainiao 阅读(467) 评论(0) 推荐(0)