Could not read JSON: Can not deserialize instance of java.lang.String out of START_OBJECT token


当list是一个对象时,会报错。


({list:list}).success(function (response) {}




把list转换成字符串即可



({list:JSON.stringify(list)}).success(function (response) {}


猜你喜欢

转载自blog.csdn.net/giscript/article/details/53070175