Once databind adds support for reading a sub-tree:
FasterXML/jackson-databind#820
it would make sense to expose this from JAX-RS endpoint as well. A new annotation, something like:
@Path("/api")
public int submitAccount(@JsonAt("/request/payload/accounts/0") Account account) {
...
}
might make sense. It would basically allow binding only a subset of incoming document into parameter, skipping other payload efficiently (although caller will still send it).