Package de.bild.codec.annotations
Annotation Interface EncodeNulls
If you need nulls to be written out to the database, use this annotation either at pojo class level or at field level.
Please note: If you set EncodeNulls=false and decode entities with undefined values within the mongo database,
the
DecodeUndefinedHandlingStrategy will influence the decoded value
Global behaviour can be set during registration of PojoCodecProvider.Builder.encodeNulls(boolean)-
Optional Element Summary
Optional Elements
-
Element Details
-
value
boolean value- Default:
- true
-