Skip to content

JAX-RS response filter which will substitute response entity with a JsonPath derived one

License

Notifications You must be signed in to change notification settings

lev-kuznetsov/jsonpath-jaxrs-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status Maven Central Codacy Badge

jsonpath-jaxrs-filter

JsonPathFilter is annotated for autoscan discovery - simply add the jar to your dependencies to make use of this feature. Filter is enabled for all entity media types. As long as an incoming request specifies a jsonpath in JSONPath incoming header the filter will be applied

See jayway for the actual jsonpath implementation used

By default a custom Jackson based implementation of jayway's JsonProvider is used, one which can deal with beans directly. You may override the provider by declaring a ContextResolver supplying your implementation. You can configure ObjectMapper used by the provider implementation by doing the same - declare a provider supplying your mapper

About

JAX-RS response filter which will substitute response entity with a JsonPath derived one

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages