Re: [jackson-user] Using a converter only on root object/collection

2017-02-13 Thread Tatu Saloranta
On Mon, Feb 13, 2017 at 4:46 AM, Clément Poulain wrote: > Hi Tatu, thanks for the reply. > > I wanted to avoid using a wrapper as my REST API is built on top of > interfaces used for other things, and I would like to keep them untouched. > I have a large number of calls returning any Collection (S

Re: [jackson-user] Android - Problem deserialising JSON to object in 'release' builds

2017-02-13 Thread Tatu Saloranta
That is progress then. For some reason property in question is not being found. Without seeing class this is all speculation, but perhaps build process drops or renames annotations that you are using to indicate properties (and/or rename them). But in general you will need to figure out what the d

Re: [jackson-user] Android - Problem deserialising JSON to object in 'release' builds

2017-02-13 Thread Jonathan Wareham
Hi, thanks for your reply. I did have FAIL_ON_UNKNOWN_PROPERTIES disabled, so I re-enabled it and the error I'm getting is 'Unrecognized field "nfdDateTimeUTC" . not marked as ignorable'. But my class I'm trying to deserialise to absolutely has this field as a property. Again, this error

Re: [jackson-user] Using a converter only on root object/collection

2017-02-13 Thread Clément Poulain
Hi Tatu, thanks for the reply. I wanted to avoid using a wrapper as my REST API is built on top of interfaces used for other things, and I would like to keep them untouched. I have a large number of calls returning any Collection (Set, List, UnmodifiableSet, etc.), so doing it purely on Jackson

Re: [jackson-user] Serialize Generic Collection Issues

2017-02-13 Thread Yosvany Llerena Rodríguez
Thank @Tatu. Sorry abut the delay. I will be back as soon as I test moving from 2.8.0 to 2.8.6. BR On Wednesday, January 25, 2017 at 6:40:09 PM UTC, Tatu Saloranta wrote: > > Ok, assuming this is with a reasonably up-to-date version (2.8.6 or > 2.7.8), at this point it would make sense to file a