--
You received this message because you are subscribed to the Google Groups "jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jackson-user+unsubscribe@googlegroups.com.
To post to this group, send email to jackso...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
As a general answer, I am always open to new ideas. :)In this specific case I am not quite sure how this could be implemented, considering the way Jackson handles properties and introspection.However... come to think of this, there is one piece of configurability that might help here. `PropertyNamingStrategy` may be used to change name mapping from POJO property (derived from getter/setter, field, or annotation) to/from external name used in JSON. It is therefore possible to have different strategy, and one that does not have to merely change casing or punctuation but may completely change the name.One downside with this is that you can not dynamically change the strategy; it is static setup (set once per ObjectMapper), so you'd need separate mapper for each distinct deployment. That may or may not work for you.-+ Tatu +-
On Wed, Aug 24, 2016 at 10:28 AM, JP <padaw...@gmail.com> wrote:
Thanks, Tatu.
I think this would be a useful feature to have perhaps in a future release? ;)
Especially considering there are more and more user-configurable systems offering REST APIs (eg. JIRA) where fields names will be changing.
Best regards,
jp
--
You received this message because you are subscribed to the Google Groups "jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jackson-user...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jackson-user+unsubscribe@googlegroups.com.