problem description
I want to pass the json value forward, but I"m not sure how to pass multiple
, for example, {aRV 1, precinct, 2, 2, 3, 3, 3, 1, 2, 3,
there are multiple data in a group of json, and then there are multiple sets of data in a group of
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)
@Controller
@RequestMapping("/some")
public class SomeTestController {
@RequestMapping(value ="/test" )
@ResponseBody
public String getAirportList(HttpServletRequest request) {
JSONObject json = new JSONObject();
json.put("a", "1");
return json.toJSONString();
}
}
this is the code for controller. It is not clear how to change a single value into multiple values