Skip to content

Add a separate parse_data method to JSONParser #1083

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

Merged
merged 4 commits into from
Aug 20, 2022

Conversation

aseidma
Copy link
Contributor

@aseidma aseidma commented Aug 16, 2022

Description of the Change

This PR separates out the functionality of parse from JSONParser to a new parse_data method to allow parsing JSON data to the JSON:API specification directly, without passing a request byte stream directly. See #1079

Checklist

  • PR only contains one change (considered splitting up PR)
  • unit-test added
  • documentation updated
  • CHANGELOG.md updated (only for user relevant changes)
  • author name in AUTHORS

@sliverc
Copy link
Member

sliverc commented Aug 18, 2022

Thanks. Looks good. Could you add yourself to the AUTHORS file as well? Thanks.

@sliverc sliverc self-requested a review August 20, 2022 13:06
Copy link
Member

@sliverc sliverc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot. LGTM.

@sliverc sliverc merged commit c8511a0 into django-json-api:main Aug 20, 2022
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.

2 participants