Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would it be good to do the parsing to JSON from NSData directly? #46

Open
T-Pham opened this issue Jul 21, 2016 · 0 comments
Open

Would it be good to do the parsing to JSON from NSData directly? #46

T-Pham opened this issue Jul 21, 2016 · 0 comments

Comments

@T-Pham
Copy link

T-Pham commented Jul 21, 2016

So, instead of letting Alamofire parse the data to AnyObject and then this extension convert the AnyObject to JSON, is it better to just parse the data to JSON right away?

You can find one possible implementation here:
https://gist.github.com/T-Pham/3df34ab571ac244666f12744a31eda76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant