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
In XML, empty content for elements has to be represented as either null or empty String; and since it is often better do latter, it is usually also appropriate to allow data-binding level coercion into actual null if a String value is not allowed. For this reason it seems best to make XmlMapper default settings to enable ACCEPT_EMPTY_STRING_AS_NULL_OBJECT unlike vanilla ObjectMapper. This mostly stems from the fact that where JSON can indicate difference between Strings, Numbers and Booleans, XML can not, without schema of some sort.
Users may still disable setting if they choose to: this is simply default setting.