JSON Parsing in Swift 4

from blog TrozWare, | ↗ original
Updated: 3rd September 2017. Checked syntax using Xcode 9.0 beta 6. Added section on allowing for nulls. Since JSON has become the de facto standard for data transfers around the internet, there has always been a lot of interest in Swift libraries to parse JSON into Swift classes or structs. Searching for “swift json library” on GitHub discovers...