In a custom Jackson deserialiser, is there a way to delegate certain properties back to the default deserialiser?
@Override
public final T deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException {
ObjectNode node = jp.getCodec().readTree(jp);
T type = createType();
//custom deserialise some fields here
...
// Is there a way to delegate everything else back to Jackson?
ObjectNode nodeToDelegate = node.get("someField");
// delegate back to jackson and deserialise into `type`
// nodeToDelegate can be anything - Number / Object / Array / etc.
}
p.s. I do need custom deserialiser and cannot use type annotations.