Class MarshallingUtils


  • public class MarshallingUtils
    extends Object
    Author:
    jasonlee
    • Constructor Detail

      • MarshallingUtils

        public MarshallingUtils()
    • Method Detail

      • getJsonForProperties

        public static String getJsonForProperties​(List<Map<String,​String>> properties)
        Converts a list of properties into Json format
        Parameters:
        properties -
        Returns:
        A String representation of the resulting Json array
      • buildMapFromDocument

        public static Map buildMapFromDocument​(String text)
        Converts a json or xml document into a map
        Parameters:
        text - A String containg the correctly formatted json or xml
        Returns: