You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Hi, I want to create generic/dynamic structure and convert AnyCodable to -> Login/Register/X Response Model.
I easily convert Model to AnyCodable like this -> AnyCodable( LoginResponseModel(parameter: "") )
However, if i want to convert AnyCodable to Model, i must follow this steps;
1- Converting Object To Json String
2- Converting Json String To Json Data
3- Converting Json Data To Model
Is there any easier way?
The text was updated successfully, but these errors were encountered:
Hi, I want to create generic/dynamic structure and convert AnyCodable to -> Login/Register/X Response Model.
I easily convert Model to AnyCodable like this -> AnyCodable( LoginResponseModel(parameter: "") )
However, if i want to convert AnyCodable to Model, i must follow this steps;
1- Converting Object To Json String
2- Converting Json String To Json Data
3- Converting Json Data To Model
Is there any easier way?
The text was updated successfully, but these errors were encountered: