She ask a variety of question on MVVM, Struct vs Class, Serialization and deserialization, URLSession vs URLSessionTask, FlatMap vs Compact Map, . TE-2 questions- protocol based question, how to make protocol optional, some coding questions like based on struct like filter an array of struct based on some values, project based question.
Anónimo
Serialization and deserialization are the process that we need to used wheneevr we have to switch between different data formats We are having Codable protocol i.e combination of encodable and decodable provides decoding and encoding data. Above mentioned serializing and deserializing are the two process that helps to serailize and deserialize data, We get data from the betwork in API in json format to read some data or to store it in file and to show it on UI we have to convert yhat JSON data into swift Object. for that we have to to deserializable means we need to use JSONDecoder to decode the JSON data back to swift Object, Whenever we need to send some data to the network for that we need to convert swift object or data structure into JSON format i.e serialization process where we need to use JSONEncoder to encode the swift object into JSON.