我有這個字符串我使用API的測試,其中:如何從字符串中聲明覆合java JSON對象?
{"limit":30, "offset":"0", "filters": [{"property":"vlc.vlc","operator":"=","value":"DEKU113829"}]}
我想使用創建的Android應用程序處理JSON對象:
JSONObject json = new JSONObject();
json.put("limit", 30);
json.put("offset", "0");
但我不知道如何使用put方法創建「過濾器」部分...
什麼是正確和最有效的解決方案?