@RequestBody String str JSONObject json = JSONObject.parseObject(str); String[] menu = ((JSONArray)json.get("menu")).toArray(new String[]{});