FasterXML / FasterXML/jackson-datatype-hibernate

Incorrect serialization of Lazy objects

Open
#77 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
331
Forks
108
Avg merge
5h 3m
Merged PRs (30d)
1

Description

More you can find here:

http://stackoverflow.com/questions/33194554/two-different-resulting-jsons-when-serializing-lazy-objects-and-simple-objects

Guys, I've already find out, what's the problem and solved it with hack,
when we try to serialize Hibernate proxy, and isUnwrappingSerializer() is being called, the HibernateProxySerializer is always returning false as per parent class.

But it should return the same answer that the actual serializer of the proxied value object is returning.
And now we have problem that unwrapping instructions are just ignored.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.