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

Remove unnecessary json encoding #563

Open
wants to merge 4 commits into
base: trunk
Choose a base branch
from

Conversation

crazytonyli
Copy link
Contributor

Description

I noticed quite a few places that parse the HTTP response as a JSON object and then turn the JSON object into a JSON string so that it can be used with Swift's Decoder. This PR removes the unnecessary round trip and parse the HTTP response directly using Swift's Decoder.


  • Please check here if your pull request includes additional test coverage.
  • I have considered updating the version in the .podspec file.
  • I have considered if this change warrants release notes and have added them to the appropriate section in the CHANGELOG.md if necessary.

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

Successfully merging this pull request may close these issues.

1 participant