Skip to content

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

@T-Pham

Description

@T-Pham

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions