Skill/spring
java Gson사용 예
진열사랑
2023. 12. 20. 10:06
@Data
public class RIDSndObject {
private Object REQ_DATA;
@Override
public String toString(){
Gson gson = new GsonBuilder().disableHtmlEscaping().create();
return gson.toJson(this);
}
}