public static void setObjectMapper(final ObjectMapper objectMapper) {
    JSONUtils.objectMapper.compareAndSet(null, objectMapper);
  }
The JSONUtils class is a utility class for getting JSON equivalent from Java types.

@since GemFire 8.0
geode-web-api/src/main/java/org/apache/geode/rest/internal/web/util/JSONUtils.java