且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Volley JsonArrayRequest无法将参数发送到服务器

更新时间:2023-01-17 10:34:27

为什么不使用StringRequest?

如果您的回答是JsonArrayJsonObject,您也可以从StringResponse那里获得它.

If your response is JsonArray or JsonObject you can get it from StringResponse as well.

String response;

JSONArray arrayResponse = new JSONArray(response);