본문 바로가기

봄날은 갔다. 이제 그 정신으로 공부하자

검색하기
봄날은 갔다. 이제 그 정신으로 공부하자
프로필사진 길재의 그 정신으로 공부하자

  • 분류 전체보기 (150)
    • 학습 (57)
    • android Tip (24)
    • 잡썰 (4)
    • Android jetpack (14)
    • Reactive (11)
    • 보안 (7)
    • iOS Tip (18)
    • 앱 만들기 (3)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/01   »
일 월 화 수 목 금 토
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
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록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
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바