Skip to content

[Question] Parsing JSON API formatted responses concern #28

@minhnimble

Description

@minhnimble

Issue

For the data layer, I noticed that you are using Codable and parse JSON API formatted responses manually instead of using a 3rd-party library for handling this task. Why do you think parsing manually like this would be a better choice? And do you think using a JSON API parser library would add more benefits?

struct SurveyResponse: Codable {
var id: String?
var type: String?
var attributes: Survey?
}

Just In case you don't know what JSON API format is and why we recommend to use it, please feel free to take a look at this for more information 🙏.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions