如何转换ArrayList <hashmap <string,string =“”>&gt;到JSONArray

时间:2016-03-02 13:33:31

标签: android json arraylist

我将用户then()存储在 if (succeeded) { // If your callback returned a value, // resolve the returned Promise to it... if (typeof result.then === 'function') { // ...unless it is a Promise itself, // in which case we just pass our internal // resolve and reject to then() of that Promise result.then(resolve, reject) } else { resolve(result) } } else { // If your callback threw an error, // reject the returned Promise with it reject(error) } }) 中以发送服务器以通过php脚本存储它。我想将其转换为cartArrayList<HashMap<String, String>>,以便我可以将其传递给参数。

ArrayList<HashMap<String, String>>

0 个答案:

没有答案