Skip to content

Conversation

@flyingsilverfin
Copy link
Owner

Usage and product changes

The JSON enum now implements serde::Serialize, allowing direct use with frameworks like axum for JSON responses. This removes the need for manual JSON construction or re-parsing.

Implementation

Implemented the serde::Serialize trait for the JSON enum, manually serializing each variant. Added serde as a dependency and included comprehensive unit tests for the new implementation.

Co-authored-by: joshua <joshua@typedb.com>
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.

3 participants