Way to implement empty_as_undefined ? #389
Unanswered
CaptainDriftwood
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I think you can achieve that in two different ways:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to have empty collections be treated as Undefined upon serialization? In the same vein, is there a way to do this with empty/blank strings? (I know that str also implement the len method, curious if a default serialization could treat strings differently from collections in this regard)
Beta Was this translation helpful? Give feedback.
All reactions