return toPython(ret);
}
public static Object activateService(String serviceType, Object properties) throws PlatformLayerClientException,
JSONException {
PlatformLayerCliContext context = PlatformLayerCliContext.get();
PlatformLayerClient client = context.getPlatformLayerClient();
String json = properties.toString();
String wrapper = "{ \"data\": \"" + json + "\" }";
String retvalJsonString = client.activateService(serviceType, wrapper, Format.JSON);
JSONObject retvalJsonObject = new JSONObject(retvalJsonString);
return toPython(retvalJsonObject);