回答編集履歴

1

本文の修正

2020/06/26 06:28

投稿

hayabusabusash
hayabusabusash

スコア767

test CHANGED
@@ -1,6 +1,6 @@
1
1
  コードを見た上での推測なので、間違っていたら申し訳ありませんが、
2
2
 
3
- もしかして `ResultJson` の `items` の型が間違っているのではないでしょうか?
3
+ もしかして `ResultJson` の `item` の型が間違っているのではないでしょうか?
4
4
 
5
5
 
6
6
 
@@ -10,7 +10,7 @@
10
10
 
11
11
  // `ItemJson?` の配列ではなく ItemJson の配列のオプショナルでは?
12
12
 
13
- let items: [ItemJson]?
13
+ let item: [ItemJson]?
14
14
 
15
15
  }
16
16