Class NtsJsonUtils

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    @Component
    public class NtsJsonUtils
    extends Object
    implements org.springframework.beans.factory.InitializingBean
    • Constructor Detail

      • NtsJsonUtils

        public NtsJsonUtils​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • getObjectMapper

        public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
      • existField

        public static boolean existField​(com.fasterxml.jackson.databind.JsonNode node,
                                         String fieldName)
      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean