org.cloudfoundry.client.lib.util
Class JsonUtil

java.lang.Object
  extended by org.cloudfoundry.client.lib.util.JsonUtil

public class JsonUtil
extends Object

Some JSON helper utilities used by the Cloud Foundry Java client.

Author:
Thomas Risberg

Field Summary
protected static org.apache.commons.logging.Log logger
           
 
Constructor Summary
JsonUtil()
           
 
Method Summary
static List<CloudResource> convertJsonToCloudResourceList(String json)
           
static List<String> convertJsonToList(String json)
           
static Map<String,Object> convertJsonToMap(String json)
           
static String convertToJson(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.apache.commons.logging.Log logger
Constructor Detail

JsonUtil

public JsonUtil()
Method Detail

convertJsonToMap

public static Map<String,Object> convertJsonToMap(String json)

convertJsonToList

public static List<String> convertJsonToList(String json)

convertJsonToCloudResourceList

public static List<CloudResource> convertJsonToCloudResourceList(String json)

convertToJson

public static String convertToJson(Object value)


Copyright © 2013. All rights reserved.