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

Make ObjectMapper injectable #12

Open
micrf opened this issue Jun 23, 2018 · 2 comments
Open

Make ObjectMapper injectable #12

micrf opened this issue Jun 23, 2018 · 2 comments
Assignees

Comments

@micrf
Copy link

micrf commented Jun 23, 2018

I couldn't find a way to deserialize more complex types like org.javamoney.moneta.Money.
I would be better to inject JSonMapper and ObjectMapper in JSonMapper so that Jackson MixIns can be used.

@cer cer self-assigned this Jul 30, 2018
@cer
Copy link
Contributor

cer commented Jul 30, 2018

You have access to the ObjectMapper via JSonMapper.objectMapper: https://github.com/eventuate-clients/eventuate-client-java/blob/master/eventuate-client-java-common-impl/src/main/java/io/eventuate/javaclient/commonimpl/JSonMapper.java

Does that enable you to customize it?

@aborocz
Copy link

aborocz commented Oct 26, 2022

Hi, I'd like to request this too, it's way more sophisticated then accessing a static variable. Thanks!

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

No branches or pull requests

3 participants