Class JsonUtils

java.lang.Object
com.caplin.motif.utility.JsonUtils

public final class JsonUtils extends Object
  • Field Details

    • objectMapper

      public static final com.fasterxml.jackson.databind.ObjectMapper objectMapper
  • Method Details

    • setObjectMapper

      public static void setObjectMapper(com.caplin.datasource.DataSource dataSource)
    • createJsonPublisher

      public static <S, T extends SubjectInfo> void createJsonPublisher(com.caplin.datasource.DataSource dataSource, String namespace, SubjectParser<T> subjectParser, CachedObjectProvider<S,T> provider)
    • createJsonPublisher

      public static <S, T extends SubjectInfo> void createJsonPublisher(com.caplin.datasource.DataSource dataSource, com.caplin.datasource.namespace.Namespace namespace, SubjectParser<T> subjectParser, CachedObjectProvider<S,T> provider)
    • createJsonPublisher

      public static <S, T extends SubjectInfo> void createJsonPublisher(com.caplin.datasource.DataSource dataSource, com.caplin.datasource.namespace.Namespace namespace, SubjectParser<T> subjectParser, CachedObjectProvider<S,T> provider, String metricNamePrefix)