R
R
Rtjj2016-11-15 09:19:31
JSON
Rtjj, 2016-11-15 09:19:31

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

1 answer(s)
A
Anton Zhilin, 2016-11-15
@Anton3

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 question

Ask a Question

731 491 924 answers to any question