title: I got this error in swift storyboard keyNotFound(CodingKeys(stringValue: "topic", intValue: nil), Swift.DecodingError
body: <p>Error:</p>
  <blockquote>
  <p>keyNotFound(CodingKeys(stringValue: &quot;topic&quot;, intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: &quot;No value associated with key CodingKeys(stringValue: &quot;topic&quot;, intValue: nil) (&quot;topic&quot;).&quot;, underlyingError: nil))</p>
  </blockquote>
  <p>My code:</p>
  <pre><code>class ViewController: UIViewController {
  
      @IBOutlet weak var prizeLabel: UILabel!
      @IBOutlet weak var priceLabel: UILabel!
      @IBOutlet weak var timeLabel: UILabel!
      @IBOutlet weak var categoryLabel: UILabel!
      @IBOutlet weak var contentLabel: UILabel!
      @IBOutlet weak var titleLabel: UILabel!
      override func viewDidLoad() {
  
          
          super.viewDidLoad()
          
  
             // 1
             let urlString = &quot;http:..{local-host-address}.../post&quot;
             guard let url = URL(string: urlString) else { return }
             
             // 2
             URLSession.shared.dataTask(with: url) { (data, response, error) in
                 if error != nil {
                     print(error!)
                 }
  
                 guard let data = data else { return }
                 do {
                     // 3
                     //Decode data
                     let JSONData = try JSONDecoder().decode(JSONTest.self, from: data)
  
                     // 4
                     //Get back to the main queue
                     DispatchQueue.main.async {
                        
                         self.timeLabel.text = JSONData.time
                         self.priceLabel.text = JSONData.price
                         self.prizeLabel.text = JSONData.prize
                         self.contentLabel.text = JSONData.content
                         self.categoryLabel.text = JSONData.category
                         self.titleLabel.text = JSONData.topic
                         
                     }
  
                 } catch let jsonError {
                     print(jsonError)
                 }
                 // 5
                 }.resume()
         }
          
      }
  
  
      struct JSONTest: Codable {
          var topic: String
          var content: String
          var category: String
          var time: String
          var price: String
          var prize: String
          
          init(topic: String, content: String, category: String, time: String, price: String, prize: String) {
                 self.topic = topic
                 self.content = content
                 self.category = category
                 self.time = time
                 self.price = price
                 self.prize = prize
             }
      }
  </code></pre>
  <p><strong>BTW:</strong> <em>I also have another similar code with different error but first I would like to solve this one</em></p>
  <p><em><strong>Thanks!</strong></em></p>