Skip to content

Conversation

@mbellade
Copy link
Member

https://hibernate.atlassian.net/browse/HHH-19362


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


- Add the `expandProperties` flag that indicates when serializing entier object trees
- Handle entity values, including tracking circular relationships
- Handle plural attribute values
@mbellade
Copy link
Member Author

Switching to draft for now, @beikov suggested changing the JsonHelper serialization approach from invocation of static methods to a visitation pattern where we go through the tree of objects to write as JSON with a stateless visitor. This same visitor could be overridden to perform e.g. entity circularity tracking when needed, separating that logic from the document writer itself.

@mbellade
Copy link
Member Author

mbellade commented Jul 7, 2025

Superseded by #10481

@mbellade mbellade closed this Jul 7, 2025
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

Successfully merging this pull request may close these issues.

1 participant