serializing and deserializing issues on version update from jackson 2.7.4 to 2.15.0.

16 views
Skip to first unread message

Pragya S

unread,
Aug 9, 2023, 2:50:13 PM8/9/23
to jackson-user
I am noticing weird issues on updating jackson version from 2.7.4 to 2.15.0. I checked logs of request object which appears to be different and causing functionality issues. Below are the logs.   
Log with old jackson version:
Requst JSON with Command Name MFA :: /createProfile/true, Json :: {"email":"5...@yopmail.com","dateOfBirth":"Apr 02, 1904 12:00:00 AM","primaryPhoneType":"WIRELESS","addressId":0,"firstName":"Rahul","password":"Test@123","lastName":"V","emailOptIn":true,"profileZip":"","primaryPhone":"4692744627","isWelcomeMailRequired":true,"loyaltyOptIn":true,"expiresAt":0,"dunkinNationEnrolled":false,"sessionId":"9286D931FE5B43E3A4AA18C7FEA0FBF7"}
logs with new jackson version:  

Requst JSON with Command Name MFA :: /createProfile/true, Json :: {"identifier":null,"service":null,"id":null,"email":"4...@yopmail.com","userName":null,"city":null,"securityNotSaved":null,"profileCity":null,"cardAbsent":null,"cardStreetAddress1":null,"cardZip":null,"dateOfBirth":-2082740400000,"favouriteList":null,"primaryPhoneType":"WIRELESS","addressId":0,"addressList":null,"firstName":"Megha","password":"Test@123","securityAnswerPassed":null,"lastName":"Soni","profileState":null,"cardNickname":null,"cardStreetAddress2":null,"corporateTitle":null,"profileCompleteness":null,"emailOptIn":true,"secondaryPhone":null,"securityId":null,"profileStreetAddress1":null,"profileZip":"","cardNumber":null,"cardCity":null,"corporateCompany":null,"gender":null,"mobileOptIn":null,"secondaryPhoneType":null,"title":null,"securityAnswer":null,"profileStreetAddress2":null,"cardAddressCopyProfile":null,"cardPin":null,"cardState":null,"accountType":null,"frequencyVisit":null,"primaryPhone":"4692744627","phoneVerified":null,"profileStatus":null,"loyaltyEnrollment":null,"epsilonProfileID":null,"epsilonProfileGUID":null,"epsilonEnrolled":null,"loyaltyMemberStatus":null,"loyaltyenrolldate":null,"pointstonextreward":null,"rewardPointsPerDollar":null,"cardbalance":null,"isAutoReload":null,"isWelcomeMailRequired":true,"referringProfileID":null,"trackingid":null,"loyaltyOptIn":true,"statusChange":null,"loyaltyRewardModDate":null,"ddCardList":null,"cCardList":null,"loyaltyCardList":null,"isUserNameAvailable":null,"loyaltyProfileID":null,"dunkinProfileID":null,"keepInformed":null,"promoCode":null,"expiresAt":0,"uuid":null,"dunkinNationEnrolled":false,"taEligible":null,"sessionId":"8B6A195047224FBF9FFD39684812D410","dltEnabled":null,"termsAndCondition":null,"tcAcceptedDate":null,"signinProvider":null,"masterPassJson":null}

Note: some fields like "identifier":null,"service":null are coming from parent class.
Please let me know what and all changed in between these versions related to ObjectMapper, serializing and deserializing. I tried to find the updates but didn't found anything helpful.

Tatu Saloranta

unread,
Aug 9, 2023, 2:57:23 PM8/9/23
to jackso...@googlegroups.com
Please either file an issue with reproduction (unit test), or include
actual description of specific differences.
General question of "what changed" will not get you much since you are
both missing important details (actual Java class definition(s),
configuration of ObjectMapper) and include a full, non-minimized case
where most content is irrelevant.

Also: "please tell me all changes".... You can read release notes and
you will know about as much as anyone here.
There are dozens (or maybe hundreds) of changes, no one has time or
interest to write a thesis for you on all that has changed, most of
which is unlikely to be relevant.

-+ Tatu +-
> --
> You received this message because you are subscribed to the Google Groups "jackson-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jackson-user...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jackson-user/b1f2fd07-b512-4e63-818f-bd4c317ff4e8n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages