It is impossible to set ignoreNull and ignoreDefault together.
Is it possible to set ignore all nulls and boolean false values?
It is impossible to set ignoreNull and ignoreDefault together. Is it possible to set
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, these are mutually exclusive. You shouldn’t need to set both of these at the same time as a property will only have 1 default value. For reference types, it’s null and for value types its a value (bool, for instance, is false). You should be able to set IgnoreIfDefault and be fine.