title: When parsing does not work "for"
body: <p>When parsing does not work "for"</p>
  
  <p>In what there can be an error?</p>
  
  <p>Earlier this code worked with such JSON, but when I changed JSON "for" stopped working
  <a href="https://i.stack.imgur.com/3cNdo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3cNdo.png" alt="enter image description here"></a></p>
  
  <pre><code>    do{
              let json = try JSONSerialization.jsonObject(with: data!, options: .mutableContainers) as! [String : Any]
  
              if let main = json["LIBRARY"] as? [[String : Any]]{
  
                  for data in main {
                      var info = Modal()
                      info.name = data["NAME"] as? String
                      info.id = data["ID"] as? String
                      info.ImageViewURL = data["PICTURE"] as! String
                      print(info.id)
  
                      if let filesArray = data["FILES"] as? [[String : Any]] {
                          for file in filesArray {
                              var info = Modal()
                              info.name = file["NAME"] as? String
                              info.audioUrl = file["SRC"] as? String
  
                              print(info.name! as Any)
                              print(info.audioUrl! as Any, "\n")
  
                              self.modals.append(info)
                          }
  
                      }
  
                      print(info.name)
  
                      self.modals.append(info)
  
                  }
              }
  
          } catch let error {
              print(error)
          }
  </code></pre>
  
  <p>Here is my current JSON</p>
  
  <p><a href="https://i.stack.imgur.com/qc0pL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qc0pL.png" alt="enter image description here"></a></p>