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
As per title, although full validation of values is out-of-scope for Jackson, very basic "must be included in JSON" checks may fall in 80/20 line of things. Especially since we already have annotation to use.
The trick here is implementation; from two distinct parts:
This requires handling and retaining of extra state (what has been included) during deserialization by BeanDeserializer, and passing it; not trivial to do with current code.
Due to combinatorial explosion by features, efficiency, we need to be careful not to add Yet Another combination of things to tackle, requiring adding yet more similar (but not identical) methods
glebmtb, parameshjava, ngtk-xx, remal, tsjensen and 1 more