title: How to prettyPrint json response from API call in debugger?
body: <p>Trying to figure out how to prettyPrint the json value of my response from an API, while debugging:</p>
  
  <pre><code>let session = URLSession(configuration: .default)
  let task = session.dataTask(with: urlRequest) { data, response, error in
      completion(data, response, error)
  }
  </code></pre>
  
  <p>In the debugger, if I do po data, this is what I get something like this:</p>
  
  <p><a href="https://i.stack.imgur.com/QAvjl.png" rel="noreferrer"><img src="https://i.stack.imgur.com/QAvjl.png" alt="enter image description here"></a></p>
  
  <p>How can I print out the actual json structure that is in the data object? Was hoping to see something like this:</p>
  
  <p>{ "firstName" : "John",
    "lastName" : "Doe",
    ...
  }</p>
  
  <p><code>po debugPrint(data)</code> doesn't output anything in this case.</p>