Skip to content
Discussion options

You must be logged in to vote

Hi, no that is not currently implemented. It's implementation probably has to differ a bit from NoneAsEmptyString. For one I am not sure if a simple visitor like that is possible or if deserialization just always has to create the Vec. At least for submission to this crate it should be possible to customize the inner type of the Vec.
I am open to adding this to the crate. While I'm not sure how frequently used this pattern is, the implementation is likely just a couple of lines plus docs and tests.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@drewlwhitney
Comment options

Answer selected by drewlwhitney
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants