Hi!

3.7.1 of the JSON-B spec defines the following visibility rules for fields

* if public setter/getter exists -> take that
* if non public setter/getter exists -> ignore
* OTHERWISE (no setter/getter at all) -> use fields


But all that must not get evaluted if an explicit VisibilityStrategy got 
applied, isn't?
That means if there is a FieldVisibilityStrategy which enables all fields, then 
it must not matter if there is e.g. a private getter/setter for that field, 
right?
It seems currently we still skip those fields, which is imo wrong! Because as 
of section 4.6 a custom JsonbVisibility always overrides default behaviour.


wdyt?

Will also create a ticket.

LieGrue,
strub

Reply via email to