是否可以在 Spring Boot 中对 JSON 对象使用 @ Produces ?或者还有另一种方法来实现这一点:
JSONObject J_Session = new JSONObject();
J_Session.put("SESSION_ID_J", session_jid);
J_Session.put("J_APP", "J");
J_Session.put("REST_ID_J", rest_id);
Run Code Online (Sandbox Code Playgroud)