This is a demo of :

  • using Swift URLSession to do data task request to a web REST API.
  • handle JSON data: decode & encode