Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Android
- MediaPlayer
- Reactive
- mysql
- list
- MediaSession
- junit
- Android 13
- rx
- node.js
- node
- php
- SwiftUI Tutorial
- mvvm
- paging
- MotionLayout
- Kotlin
- Observable
- 테스트 자동화
- android13
- google play
- databinding
- 인앱결제
- SWIFTUI
- PagingLib
- RxKotlin
- Koin
- 동영상
- Animation
- GCP
Archives
- Today
- Total
목록JSON Parsing (1)
봄날은 갔다. 이제 그 정신으로 공부하자
JSON String 파싱하는 방법
1. ObjectMapper 사용import com.fasterxml.jackson.databind.JsonNode;import com.fasterxml.jackson.databind.ObjectMapper;String jsonString = "{"id":12345,"name":"tester001"}";ObjectMapper objectMapper = new ObjectMapper();JsonNode rootNode = objectMapper.readTree(jsonString);Integer id = rootNode.get("id").asInt();String name = rootNode.get("name").asText();2. Gson 사용import com.google.gson.Gson;Strin..
학습
2025. 11. 24. 11:11