FasterXML / FasterXML/jackson-jaxrs-providers

Add support for 'read at' via new annotation, JSON Pointer expression

Open
#70 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
126
Forks
83
Avg merge
10h 11m
Merged PRs (30d)
1

Description

Once databind adds support for reading a sub-tree:

https://github.com/FasterXML/jackson-databind/issues/820

it would make sense to expose this from JAX-RS endpoint as well. A new annotation, something like:

``` java
@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).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.