質問編集履歴

1

追記

2019/12/03 06:03

投稿

Jonny_dayo
Jonny_dayo

スコア48

test CHANGED
File without changes
test CHANGED
@@ -447,3 +447,41 @@
447
447
  Xcode : Version 11.2.1
448
448
 
449
449
  Swift : Apple Swift version 5.1
450
+
451
+
452
+
453
+ ### 追記
454
+
455
+ ```
456
+
457
+ struct GoogleData: Decodable {
458
+
459
+ let name: String
460
+
461
+ let amount: String
462
+
463
+ let unit: String
464
+
465
+ let price: String
466
+
467
+ let category: String
468
+
469
+
470
+
471
+ private enum CodingKeys: String, CodingKey {
472
+
473
+ case name
474
+
475
+ case amount
476
+
477
+ case unit
478
+
479
+ case price
480
+
481
+ case category
482
+
483
+ }
484
+
485
+ }
486
+
487
+ ```