Jmeter Beanshell 中JSONObject 和JSONArray 处理

keena_jiao / 2023-08-21 / 原文

JSONObject jsonObject = new JSONObject(response);
JSONObject dataObject = jsonObject.getJSONObject("data");
JSONArray  demandStyleList = dataObject.getJSONArray("demandStyleList");
detailObject.put("spuList",demandStyleList);