FasterXML / FasterXML/jackson-jaxrs-providers
Add support for 'read at' via new annotation, JSON Pointer expression
Open
- 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.