I would like to set a default constant value to a particular value node in JiBX when the corresponding field value is null. Is this possible and if so, how?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
You can use the element 'default' ... for example:
This is only allowed for 'optional' elements.
See the description here: http://jibx.sourceforge.net/details/binding-attributes.html#string