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

Support dataclass in JSONEncoder (if available) #3195

Merged
merged 1 commit into from May 19, 2019
Merged

Support dataclass in JSONEncoder (if available) #3195

merged 1 commit into from May 19, 2019

Conversation

@eruvanos
Copy link
Contributor

@eruvanos eruvanos commented May 13, 2019

Support dataclass to be encoded with jsonify using dataclasses.as_dict().

flask/json/__init__.py Outdated Show resolved Hide resolved
Loading
tests/test_basic.py Outdated Show resolved Hide resolved
Loading
tests/test_basic.py Outdated Show resolved Hide resolved
Loading
@davidism davidism added this to the 1.1 milestone May 13, 2019
@davidism davidism added the json label May 13, 2019
@eruvanos
Copy link
Contributor Author

@eruvanos eruvanos commented May 16, 2019

@ThiefMaster Is something still missing or is it fine, like it is?

Loading

@davidism davidism merged commit b0185a6 into pallets:master May 19, 2019
12 checks passed
Loading
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants