标签:
public String toJsonObject(String[] list) { String json="["; for (int i=0;i<list.length;i++) { json+="{name:"+"‘"+list[i]+"‘"; json+="}"; if (i!=list.length-1) { json+=","; } } json+="]"; return json; }
标签:
原文地址:http://www.cnblogs.com/sprinng/p/4925526.html