2015年12月26日

摘要: var arr=new Array(); arr=ids.split(","); alert(arr.length); 阅读全文
posted @ 2015-12-26 15:24 清风素颜 阅读(512) 评论(0) 推荐(0)

2015年12月23日

摘要: 示例如何将一个 Student 对象转换成 json 串,实际操作中我们也可以将任意的 Java 类转换为 json 串,并且实施起来也非常简单,你仅仅需要创建一个 Gson 实例,然后传递将被转化为 json 串的对象,并调用该实例的 toJson 方法即可。import com.google.g... 阅读全文
posted @ 2015-12-23 17:42 清风素颜 阅读(257) 评论(0) 推荐(0)

导航