강의

멘토링

커뮤니티

Inflearn Community Q&A

tjrals6042673's profile image
tjrals6042673

asked

Easy-to-understand introduction to Modern Android Development by Frozen Coder

Practice2B-Kakao Book Search API with Retrofit (Retrofit, Moshi, OkHttp, Kapt)

nested json에서 특정 부분만 파싱하는법

Written on

·

465

0

Moshi 질문 드립니다.

{

"a" : {

"b" :"123",

"c" :[...]

}

}

위와 같은 json이 있을 때 "c"만 파싱이 가능할까요?

androidkotlin아키텍처jetpack

Answer 1

0

frozencoder님의 프로필 이미지
frozencoder
Instructor

필요한 필드만 파싱이 가능합니다. 다음 링크를 참고해 보세요.

https://stackoverflow.com/questions/52548249/accessing-deeply-nested-json-array-with-moshi-retrofit2

tjrals6042673's profile image
tjrals6042673

asked

Ask a question