Skip to content
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

add support to @JsonIgnoreProperties #12

Closed
rsallar opened this issue Jan 19, 2014 · 9 comments
Closed

add support to @JsonIgnoreProperties #12

rsallar opened this issue Jan 19, 2014 · 9 comments
Assignees
Milestone

Comments

@rsallar
Copy link

rsallar commented Jan 19, 2014

Hi, I would like to see the @JsonIgnoreProperties annotation added to the library.
Currently, any rest service which changes any property of a result breaks the call with a message like:
...
Caused by: com.github.nmorel.gwtjackson.client.exception.JsonDeserializationException: Unknown property 'the_new_property_field'

Thanks

@nmorel
Copy link
Owner

nmorel commented Jan 19, 2014

It is supported already. Did you try @JsonIgnoreProperties(ignoreUnknown = true) ?

@rsallar
Copy link
Author

rsallar commented Jan 19, 2014

Sorry, my mistake. I was using latest version of GWTP which includes gwt-jackson version 0.2. I have upgraded to 0.3 and the annotation is working like a charm.

@rsallar rsallar closed this as completed Jan 19, 2014
@nmorel
Copy link
Owner

nmorel commented Jan 19, 2014

Perfect :)

@christiangoudreau
Copy link

0.3 is another PR FYI, will be part of that small update we're doing this week

@nmorel
Copy link
Owner

nmorel commented Jan 20, 2014

I can release a new version if you want to include last changes.
Issue #10 almost deserves a version. There are also some improvements in performance and support for annotations on constructor parameters.

@christiangoudreau
Copy link

Where's the like button? 👍

@nmorel
Copy link
Owner

nmorel commented Jan 20, 2014

Version in progress :) My jenkins build is a bit slow but the version should be available within an hour.

@christiangoudreau
Copy link

Perfect, thanks!

@ghost ghost assigned nmorel Jan 20, 2014
@nmorel
Copy link
Owner

nmorel commented Jan 20, 2014

Done :) The 0.4.0 should be available soon in Maven Central.
If you find any issue before your release, tell me and I'll fix them asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants