Skip to content

Comments

Support serde serialization#62

Merged
ielis merged 4 commits intodevelopmentfrom
serde-serialization
Jan 13, 2026
Merged

Support serde serialization#62
ielis merged 4 commits intodevelopmentfrom
serde-serialization

Conversation

@ielis
Copy link
Collaborator

@ielis ielis commented Jan 13, 2026

Add serde feature to support interoperability with serde.

At this point, the PR only adds the support for (de)serializing of the TermId, when contained in a struct or an enum. The TermId does not implement serde::Serialize and serde::Deserialize itself, but serde, the new Ontolius' feature, exposes the functions to for mapping the TermId to a curie.

See tests/test_serde.rs module for an example usage.

@ielis ielis merged commit 41e3731 into development Jan 13, 2026
4 checks passed
@ielis ielis deleted the serde-serialization branch January 13, 2026 11:07
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.

1 participant