Class IdmObjectSerializator


  • public class IdmObjectSerializator
    extends Object
    Jackson Serialization utils for Smartgear Context classes
    Author:
    Alfredo Oliviero (ISTI-CNR)
    • Field Detail

      • typeRefHashmap

        protected static com.fasterxml.jackson.core.type.TypeReference<HashMap<String,​Object>> typeRefHashmap
    • Constructor Detail

      • IdmObjectSerializator

        public IdmObjectSerializator()
    • Method Detail

      • decodeBase64String

        public static String decodeBase64String​(String encodedString)
      • jsonStringToHasmap

        public static HashMap<String,​Object> jsonStringToHasmap​(String jsonString)
                                                               throws com.fasterxml.jackson.databind.JsonMappingException,
                                                                      com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.databind.JsonMappingException
        com.fasterxml.jackson.core.JsonProcessingException
      • getSerializer

        public static com.fasterxml.jackson.databind.ObjectMapper getSerializer()