There are a number of ways to convert a Java Map into JSON. ... elements.put("Key3", "Value3"); JSONObject json = new JSONObject(elements); ...
確定! 回上一頁