Sunday, 15 July 2012

java - Can Jackson SerializationFeature be overridden per field or class? -


Can a (D) serialization feature be enabled / disabled per per-item or per-field? I can not think in a simple way

To be specific, I have enabled the WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED for readability of the data field, which is rarely more detailed than 1 item. Although for some top-level structures, I always want to have array rights. Critics that will blend as you but the general question still stands :)

Not in general .

But for this special feature, I think an issue can be filed to allow Gitob to handle such kind of hand. If not, do not hesitate to submit one.

There is no common way that this level does not mean granularity for many features.


No comments:

Post a Comment