How to convert hashmap to JSON object in Java ... You can use: new JSONObject(map);. Caution: This will only work for a Map<String, String>! ... Gson can also be ...
確定! 回上一頁