Answer the question
In order to leave comments, you need to log in
Json to Object on Swift (IOS)?
I programmed in Java (Android), there are no problems with deserialization into an object at all, take GSON or Jackson, or something else, and drive Json into an object with one or two lines. How many tutorials I haven’t looked at Swift, everyone manually extracts data by keys from dictionaries. Looked Readme at SwiftyJson - too most. And if there are 50 fields in Json? Pull everything out? Is that really how everyone works?
Answer the question
In order to leave comments, you need to log in
Module for serialization / deserialization into an object:
https://github.com/matthewcheok/JSONCodable
True, I haven’t worked with it for a long time, I’m not sure how it is with Swift 3.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question