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

Fixed json serialization error if model contains pbjects that are not serializable #841

Conversation

circulon
Copy link
Contributor

This fixes the exception when a non serializable object eg Decimal() is an attribute value.

A (possibly) better option would be to use the simplejson package for maximum compatibility.
But that is another conversation ;)

… serializable

Example std json non serializable object : Decimal()
@josephmancuso josephmancuso merged commit 4445730 into MasoniteFramework:2.0 Feb 19, 2023
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