If this was about serialization, there are a few mechanism to do filtering dynamically, but for deserialization there's just JSON Views, and then streaming-level `FilteringParserDelegate` which could probably work but is some work to use.
Specific mechanism from serialization side that would be nice is JSON Filters (`@JsonFilter`), but unfortunately databind-side abstraction is serialization-specific (uses delegation, wherein filter calls write methods on things to pass).
I think what most developers do is to serialize/convert to an intermediate structure (JsonNode, Map), then filter out things they don't want, and then serialize that pruned version as JSON.
-+ Tatu +-