반응형
convert string into VO
//stringData = JSON.stringify({key:value});
private static ObjectMapper mapper = new ObjectMapper();
mapper.readValue(StringData, VO.class);
convert json into VO
Gson gons = new Gson();
VO = gson.fromJson(jsonData.toString(), VO.class);
반응형
'자바' 카테고리의 다른 글
API 문서 자동화 - Swagger (0) | 2022.08.19 |
---|---|
java DTO,VO List 정렬 (0) | 2022.08.19 |
SptringBoot Rest Api Exception (0) | 2022.05.31 |
자바 dto,vo 리스트 정렬 list sort (0) | 2022.04.21 |
자바 스택/리스트 (0) | 2020.06.24 |
댓글