티스토리 뷰
728x90
fun merged(a: Map<String, Any>, b: Any): Map<String, Any> {
return objectMapper
.readerForUpdating(a)
.readValue(objectMapper.writeValueAsString(b))
}
https://stackoverflow.com/questions/9895041/merging-two-json-documents-using-jackson
Merging Two JSON Documents Using Jackson
Is it possible to merge two JSON documents with the Jackson JSON library? I am basically using the Jackson mapper with simple Java Maps. I've tried to search in Google and Jackson's documentation ...
stackoverflow.com
728x90
'공부' 카테고리의 다른 글
[java] org.apache.commons.lang3.CharEncoding.UTF_8 (0) | 2022.06.20 |
---|---|
[kotlin] avroUtils (/avsc) (0) | 2022.06.20 |
[kotlin] merge json (0) | 2022.06.20 |
[Shell]join string array (0) | 2022.06.20 |
[Kotlin] add list + list (0) | 2022.06.19 |
[JavaScript] const result = await Promise.all([].map(i => async)) (0) | 2022.06.06 |
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- 142,683
- Today
- 9
- Yesterday
- 219
TAG
- 김달
- 유투브
- wlw
- 메디파크 내과 전문의 의학박사 김영수
- 어떻게 능력을 보여줄 것인가?
- follower
- COUNT
- 개리마커스
- 인스타그램
- 클루지
- 연애학개론
- Kluge
- Bot
- 책그림
- 팔로워 수 세기