title: how to get particular json value in swift
body: <p>I want the size value in json object but the problem is I'm getting whole json data i want only size value to print</p>
  
  <p>here is my json</p>
  
  <pre><code>[{
     size = {
      height = 20
      width = 10
      },
      number = 100
  }]
  </code></pre>
  
  <p>here is my code </p>
  
  <pre><code>     do{
              let Json = try JSONSerialization.jsonObject(with: data!, options: .mutableContainers)
              //print(Json as Any)
  
              guard let newValue = Json as? [[String: Any]] else {
                  print("invalid format")
                  return
              }
              print(newValue)
  
          }catch {
              print("Response Not Found.")
           }
  </code></pre>