It is a common task to convert a Dictionary to JSON. In this tutorial I will
show you how you can do just that, luckily for us, Swift makes this incredibly
easy.
A quick note before we get started, the dictionary's value needs conform to
Encodable or Codable.