Replies: 1 comment 3 replies
-
Hi, thanks for the idea. Maybe this other issue would also be able to solve your problem #85. serde has two ways to use How are you checking for "defaultness"? There might be some fields where the type doesn't implement I think I saw some discussions a while ago what exactly |
Beta Was this translation helpful? Give feedback.
-
Thanks for the useful lib!
I have a simple use-case, where I'd like to skip serialising a field if the contents of the field match its default.
I know I could write a macro to support this, but this seems like a fairly common use-case that it might be worth adding as an option similar to
skip_serializing_none
?Beta Was this translation helpful? Give feedback.
All reactions