We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
json
Right now we use the standard .json() method from pydantic and our own logic to do some encoding.
.json()
pydantic
see #2099
It would be better in the long run to implement json encoders to do this more generally and have it integrated better with the json package.
Either through pydantic directly https://docs.pydantic.dev/1.10/usage/exporting_models/#json_encoders
Or using the json package https://docs.python.org/3/library/json.html
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now we use the standard
.json()
method frompydantic
and our own logic to do some encoding.see #2099
It would be better in the long run to implement json encoders to do this more generally and have it integrated better with the
json
package.Either through pydantic directly
https://docs.pydantic.dev/1.10/usage/exporting_models/#json_encoders
Or using the json package
https://docs.python.org/3/library/json.html
The text was updated successfully, but these errors were encountered: