-
-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creation of "JsonAutoDetect.Visibility.NON_TRANSIENT" #99
Comments
Transient fields are already excluded, so would this make any difference? |
Also, note that RFEs for data-binding should filed at: https://github.com/FasterXML/jackson-databind/issues as this is streaming component. I can move it later on, but just for future reference. |
Ah. Based on other discussions, I am guessing that perhaps this is more regarding making transient modifier mean something more similar to If so, this might be duplicate of this issue: FasterXML/jackson-databind#296 ? |
Assuming this is a dup. If not, should be (re-)filed on |
Suggest create a Enum option "non_transient" as showed below
public boolean isVisible(Member m) {
switch (this) {
case ANY:
return true;
case NONE:
return false;
case NON_TRANSIENT:
return (!Modifier.isTransient(m.getModifiers()));
The text was updated successfully, but these errors were encountered: