Hi together,
as we all know, there is a nice support of Jackson JSON Serialization in Spring Web, which is easy to use within Web Controllers (@ResponseBody etc.). In my situation, I want to reuse the configured Jackson Environment in order to serialize to JSON within my service.
I do not want to create an ObjectMapper every time, I want to use the Jackson Library. Is there any easy way to reuse the configured ObjectMapper which is automatically used, when using Json in a WebController?
Cheers
fr


Reply With Quote
