jinmeiliao commented on code in PR #7737:
URL: https://github.com/apache/geode/pull/7737#discussion_r885894426
##########
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:
On a 2nd though, since these `getMapper` are called on each
query/get/function execution, `findModule` is not cached and could be
expensive, so using this might not be a good idea. It's fine that our
management java client also supports joda time as well.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]