-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
@transient annotation seems to be ignored #109
Comments
This is a reasonable feature request, that hasn't been implemented because no one has asked for it before. This will probably be added as an optional feature, though, since I don't want to change the default for current users. |
One quick note: use of While Java keyword is recognized and used, it is not used transitively; that is, it is not assumed that the whole property is to be ignored. This because pattern like:
is ambiguous regarding intent: it could be that field itself is not to be serialized using JDK serialization; or that the property is not to be exposed. However: it would be possible to add a Alternative would be to just add functionality in Scala module for similar effect. But having more general mechanism could come in handy for other annotation sets that have concept of transiency (JPA, Hibernate?) |
Sounds perfect. We'll sync up when I'm getting closer to being ready to implementation. |
Even better ! You're awesome, guys ! |
Please, what is the status of this issue as I need this too....and urgently, Thanks |
The underlying issue FasterXML/jackson-databind#296 has not yet been addressed. If you need it urgently I would recommend looking into creating a PR for the databind project. |
FWTW, FasterXML/jackson-databind#296 was implemented for Jackson 2.6 and is now available. |
…yond the databind changes.
…yond the databind changes.
It appears that no other changes were needed to the Scala module. I've added a regression test, but will otherwise close this issue. |
The scala builtin @transient annotation seems to be ignored.
@JsonIgnore does the job but the standard @transient annotation should produce a similar result isn't it ?
The text was updated successfully, but these errors were encountered: