Skip to content

Add support for different decoding strategies #7

@martin-e91

Description

@martin-e91

Description

Add support for different decoding strategies.

Use Case

  • Decoding of data with snake-case keys
  • Decoding of data with a custom date format

Proposed Solution

  • Including a decoder property in the NetworkRequest protocol that allow to specify desired decoder to use when serializing the response. Default value for the property should translate to using a JSONDecoder() instance.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions