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

Feature Request: serialize UUID subclasses #535

Open
judahrand opened this issue Nov 26, 2024 · 0 comments
Open

Feature Request: serialize UUID subclasses #535

judahrand opened this issue Nov 26, 2024 · 0 comments

Comments

@judahrand
Copy link

There are very useful UUID formats which are not supported by Python's stdlib uuid module. These formats can be implemented by subclassing from uuid.UUID. An example of this can be seen here. It would be amazing if orjson automatically serialialized these types similar to how str subclasses are serialized.

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

No branches or pull requests

1 participant