agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/util/DomainSetup.java
/**
     * create a StorageSystem domain object from a json object
     * @param json
     * @return StrorageSystem
     */
create a StorageSystem domain object from a json object
@param json
@return StrorageSystem
create a StorageSystem domain object from a json object @param json @return StrorageSystem
public StorageSystem createStorageSystemFromJson(JSONObject json){
        StorageSystem storageSystem = null;
        try{
            storageSystem = StorageSystem.fromJSON(json);
        } catch (SystemException e) {
            log.error("Unable to marshal storage system from json", e);
        }
        return storageSystem;
    }
public StorageSystem createStorageSystemFromJson ( JSONObject json ) { StorageSystem storageSystem = null ; try { storageSystem = StorageSystem . fromJSON ( json ) ; } catch ( SystemException e ) { log . error ( "Unable to marshal storage system from json" , e ) ; } return storageSystem ; }
create a StorageSystem domain object from a json object
 @param json
 @return StrorageSystem
create a StorageSystem domain object from a json object @param json @return StrorageSystem