onichols-pivotal commented on code in PR #7737:
URL: https://github.com/apache/geode/pull/7737#discussion_r885881588


##########
geode-common/src/main/java/org/apache/geode/util/internal/GeodeJsonMapper.java:
##########
@@ -34,13 +36,21 @@ public class GeodeJsonMapper {
    */
   public static ObjectMapper getMapper() {
     ObjectMapper mapper = JsonMapper.builder()
+        .addModule(new JavaTimeModule())

Review Comment:
   we do already call `findAndRegisterModules` at least one place 
(geode-core/src/main/java/org/apache/geode/management/internal/json/AbstractJSONFormatter.java)
 but that stopped working as expected with Jackson 2.10.  Stackoverflow 
suggests the replacement is `findAndAddModules`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@geode.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to