NSJSONSerialization partially implemented (serialization not yet implemented)
do it yourself, according to your needs, and you will see that this is the best investment and a great way to understand Swift and its capabilities. You can also use one of the open source libraries available. SwiftyJSON is very popular, for example,
As Sebastian Osinsky mentioned, unfortunately, he also uses NSJSONSerialization.
you can check out this simple but working swift json example . it’s far to be “perfect,” but as inspiration, it can help you, I hope so.
source
share