Add "skip_serializing" attribute
If it is present on a field, that field should not be included in the output If both "skip_serializing" and "skip_serializing_if" are present, "skip_serializing" should take precedent.
This commit is contained in:
@@ -32,6 +32,7 @@ This library will support XML de/ser-ializing with all specific features.
|
||||
- [x] **namespace**: defines the namespace of the field
|
||||
- [x] **rename**: be able to rename a field
|
||||
- [x] **root**: rename the based element. Used only at the XML root.
|
||||
- [x] **skip_serializing**: Exclude this field from the serialized output
|
||||
- [x] **skip_serializing_if**: Skip the serialisation for this field if the condition is true
|
||||
- [x] **text**: this field match to the text content
|
||||
|
||||
|
||||
Reference in New Issue
Block a user