Class PrefixedCollapsibleMap


  • public class PrefixedCollapsibleMap
    extends Object
    • Constructor Detail

      • PrefixedCollapsibleMap

        public PrefixedCollapsibleMap()
    • Method Detail

      • serialize

        public static Map<String,​String> serialize​(Map<String,​Object> map,
                                                         String prefix)
        Flatten a Map of String, Object into a Map of String, String where keys are '.' separated and prepends a key.
        Parameters:
        map - map to transform
        prefix - key to prepend
        Returns:
        flattened map