본문 바로가기 메뉴 바로가기

Peppo

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Peppo

검색하기 폼
  • 분류 전체보기 (222)
    • Story (13)
    • iOS (144)
      • Error (11)
    • 알고리즘 (43)
    • ETC (7)
    • React-Native (0)
    • CS (Computer science) (3)
  • 방명록

decoder (1)
[iOS] Decode 한번 뜯어보자 (feat. container, nestedContainer, decode)

아래와 같은 JSON data가 있다고 했을때 어떻게 decoding을 하나요?{ "id": 1, "name": "John Doe", "details": { "address": { "city": "Seoul", "postalCode": "12345" }, "contacts": { "email": "john.doe@example.com", "phone": "010-1234-5678" } }} 최상위로 id, name, details가 있고 details 내부에 address, contacts 가 있고,address 내부에 city, postalCode,contacts 내부에 email, phone이 있는 구조입니다. 보통 저는 decodin..

iOS 2025. 1. 18. 15:42
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • Peppo's Github
TAG
  • swift programmers
  • ios
  • Swift 프로퍼티
  • Swift inout
  • Swift joined()
  • Swift init
  • Swift joined
  • Swift Leetcode
  • removeLast()
  • Combine: Asynchronous Programming with Swift
  • swift (programmers)
  • swift reduce
  • Swift 알고리즘
  • Swift 내림차순
  • Class
  • CS 네트워크
  • swift 고차함수
  • 원티드 프리온보딩
  • iOS error
  • Swift final
  • Swift 프로그래머스
  • RTCCameraVideoCapturer
  • swift protocol
  • RIBs tutorial
  • Swift
  • Swift Error Handling
  • Swift RIBs
  • swift property
  • Swift ModernRIBs
  • 2023년 회고
more
«   2025/12   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바