Class MarshallingUtils
- java.lang.Object
-
- org.glassfish.admin.rest.client.utils.MarshallingUtils
-
public class MarshallingUtils extends Object
- Author:
- jasonlee
-
-
Constructor Summary
Constructors Constructor Description MarshallingUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map
buildMapFromDocument(String text)
Converts a json or xml document into a mapstatic String
getJsonForProperties(List<Map<String,String>> properties)
Converts a list of properties into Json formatstatic String
getJsonForProperties(Map<String,String> properties)
static List<Map<String,String>>
getPropertiesFromJson(String json)
static List<Map<String,String>>
getPropertiesFromXml(String xml)
static String
getXmlForProperties(List<Map<String,String>> properties)
static String
getXmlForProperties(Map<String,String> properties)
-