You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
causes the Root.Child property to be a List instance with 3 items.
<Root>
<Child />
</Root>
causes the Root.Child property to be null.
Similarly, a missing String property/attribute is represented as null. Objects containing unnecessarily null collections are a pain in the butt to use. We should see if we can make them empty by default instead.
The text was updated successfully, but these errors were encountered:
Note FasterXML/jackson-dataformat-xml#124
There might be some reasonably elegant workaround-- worse case we can change model generation again to accommodate.
Consider support for the case where the child list is not actually included as an element, so </Root> would still put an non-null empty list in Root.Child even though no child element is even included.
A payload like this:
causes the Root.Child property to be a List instance with 3 items.
causes the Root.Child property to be null.
Similarly, a missing String property/attribute is represented as null. Objects containing unnecessarily null collections are a pain in the butt to use. We should see if we can make them empty by default instead.
The text was updated successfully, but these errors were encountered: