FasterXML / jackson-jaxrs-providers

Multi-module project that contains Jackson-based "old" JAX-RS (ones under `javax.ws.rs`) providers for JSON, XML, YAML, Smile, CBOR formats
Apache License 2.0
109 stars 77 forks source link

Enhance Request : Allow interception during JaxRS serialization and deserialization #148

Open GedMarc opened 2 years ago

GedMarc commented 2 years ago

Hey,

Not sure if i'm not finding some functionality - but I can't seem to intercept the jax-rs calls for jackson, and have needed to map a subclass to JacksonJsonProvider that allows me modify or alter the messages coming in -

Request

Allow interceptors to fire on read/write of message out and in during jax-rs calls

cowtowncoder commented 2 years ago

What sort interception are you looking for? There is a way to "decorate" input/output abstractions via JsonFactory methods setInputDecorator() and setOutputDecorator(), perhaps these could work?