String数组转换成JSON
String[] arr_String = {
"a","b","c"}; System.out.println(arr_String);//输出[Ljava.lang.String;@5ca0b138String json_arr_String = JSON.toJSONString(arr_String); System.out.println(json_arr_String); //输出["a","b","c"]
来自:http://www.cnblogs.com/DreamDrive/p/5778959.html
,
String数组转换成JSON
String[] arr_String = {
"a","b","c"}; System.out.println(arr_String);//输出[Ljava.lang.String;@5ca0b138String json_arr_String = JSON.toJSONString(arr_String); System.out.println(json_arr_String); //输出["a","b","c"]
来自:http://www.cnblogs.com/DreamDrive/p/5778959.html