Skip to content

Added convenience methods with custom Serialize and Deserialize functions,#250

Open
Megadash452 wants to merge 1 commit into
RReverser:masterfrom
Megadash452:master
Open

Added convenience methods with custom Serialize and Deserialize functions,#250
Megadash452 wants to merge 1 commit into
RReverser:masterfrom
Megadash452:master

Conversation

@Megadash452

Copy link
Copy Markdown

Added convenience functions from_str_with, from_reader_with, to_string_with, and to_reader_with at the crate level, and as methods in SerdeXml (this one so that it can also be used with custom config).

These useful (to_string_with and to_reader_with especially) for when you need to use a different method for serializing your struct to a different data model with different tag names than the one thats created with the derive macro.

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