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 JSON module on ReportNode interface and not only on the implementation #3118

Closed
TheMaskedTurtle opened this issue Aug 20, 2024 · 0 comments · Fixed by #3155
Closed

Add JSON module on ReportNode interface and not only on the implementation #3118

TheMaskedTurtle opened this issue Aug 20, 2024 · 0 comments · Fixed by #3155

Comments

@TheMaskedTurtle
Copy link
Contributor

Describe the current behavior

Currently JSON serializer and deserializer in the ReportNode JSON module are only defined on ReportNodeImpl implementation.

Describe the expected behavior

I expect to be able to work only with ReportNode interface in client services when calling (de)serialization features.

Describe the motivation

In a spring boot service I would like to use spring integrated features of (de)serialization in the REST API directly on ReportNode interface, i.e. any implementation of ReportNode interface could be sent as body of a REST endpoint for example and then thanks to the JsonModule spring and jackson are directly able to identify the implementation and call the correct deserializer to create the corresponding object and return it behind the ReportNode interface. The aim is to use only ReportNode interface in the service (no implementation dependency) and to use integrated features of spring/jackson (de)serialization.

Extra Information

No response

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 a pull request may close this issue.

1 participant