private static ObjectMapper getObjectMapper() {
    ObjectMapper localObjectMapper = objectMapper.get();
    Assert.state(localObjectMapper != null, "The ObjectMapper reference must not be null!");
    return localObjectMapper;
  }
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