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

Maven solution example #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ChameleonTartu
Copy link

I don't know Gradle, so I created a solution with Maven and few tests to demonstrate one of the solutions.

@ChameleonTartu
Copy link
Author

@ilacorda Can you explain what sort of issue with Map<String, Any> you cannot overcome?

@ilacorda
Copy link
Owner

ilacorda commented May 3, 2020

@ilacorda Can you explain what sort of issue with Map<String, Any> you cannot overcome?

Hi, apologies for getting back to you so late. I believe your approach does not work straightforward in my main application, although it does indeed work as a standalone project. I will have to take a different approach and perhaps use JsonNode as a type. I will update my project as soon as possible. As it stands, my current demo works as well.

@ChameleonTartu
Copy link
Author

@ilacorda I added an example of code with JsonNode. The logic is mostly the same. This structure is more flexible, now. The only remaining part for you to figure out correct Jackson mappings to and from JsonNode.

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.

None yet

2 participants